Crayola crayon color
Crayola Purple Heart #7442C8
Crayola Purple Heart is shown here as #7442C8, the commonly published value for the crayon. It is a vivid violet in the violet family. In OKLCH it sits at lightness 0.512, chroma 0.197 and hue 295.8°. The nearest CSS named color is blueviolet (#8A2BE2), ΔE2000 5.3 away.
- Relative luminance
- 0.1178
- OKLCH L · C · h
- 0.512 · 0.197 · 295.8
- Best text
- White 6.25:1
- Hue family
- Violet
#7442C8 color codes
- HEX
#7442C8- RGB
rgb(116, 66, 200)- HSL
hsl(262, 55%, 52%)- OKLCH
oklch(0.512 0.197 295.8)- OKLab
oklab(0.512 0.086 -0.177)- CIELAB (D65)
L* 40.86, a* 50.17, b* -62.08- XYZ (D65)
X 19.57, Y 11.78, Z 55.87- CMYK (naive)
cmyk(42%, 67%, 0%, 22%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Crayola is a trademark of Crayola LLC, which this site is not affiliated with. The value is the commonly published sRGB rendering of the crayon, not a Crayola specification.
Legibility
Contrast: is #7442C8 accessible?
White text on it reaches 6.25:1, passing AA. Black text manages only 3.35:1, enough for large text only.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
3.35:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc +23
-
White text on it
6.25:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc −85
-
As text on black
3.35:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc −21
-
As text on white
6.25:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc +80
Nearest versions that pass 4.5:1
-
For text on white
#7442C8 6.25:1
It already reaches 6.25:1 on white, so no change is needed.
-
For text on black
#8859E0 4.55:1
Lightening its OKLCH lightness from 0.51 to 0.58 reaches 4.55:1 on black, keeping the hue.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #7442C8 live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #7442C8
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #7442C8 sits at step 600.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #7442C8 can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.280; #7442C8 uses 70% of it. Display P3, which many recent phones and laptops show, reaches 0.290 there: 3% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.197
- sRGB edge
- 0.280
- Display P3 edge
- 0.290
- Rec. 2020 edge
- 0.318
- Dominant wavelength
- 435 nm
- Excitation purity
- 61%
- Chromaticity
- x 0.2244, y 0.1350
- This color#7442C8
- Most vivid in sRGB#7D00F0
- Most vivid in Display P3oklch(0.512 0.290 295.8)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #7442c8;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.4511 0 0.9207); }
}
Mixing
Mixing #7442C8
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#BAA1E4
- OKLab50%#B5A3E8
- OKLCH50%#B5A3E8
Black #000000
- sRGB50%#3A2164
- OKLab50%#29144C
- OKLCH50%#29144C
Its complement #646E00
- sRGB50%#6C5864
- OKLab50%#68627C
- OKLCH50%#00757F
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #7442c8, white);
color: color-mix(in oklch, #7442c8 50%, white);
In use
#7442C8 in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:16.25:1 Passes
- Link and body-size textText, 4.5:16.25:1 Passes
- Large headingLarge text, 3:16.25:1 Passes
- Icons, borders and focus ringsNon-text, 3:16.25:1 Passes
Dark page
- Button labelText, 4.5:16.25:1 Passes
- Link and body-size textText, 4.5:12.99:1 Fails
- Large headingLarge text, 3:12.99:1 Fails
- Icons, borders and focus ringsNon-text, 3:12.99:1 Fails
For text on this page, the nearest shade that passes is #8F61E9 4.50:1
Color vision
How #7442C8 looks with color blindness
Achromatopsia changes it most, ΔE2000 28.6; deuteranopia changes it least, 17.7.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#0061CC ΔE2000 17.9
Distinct
Reads as vivid blue
-
Deuteranopia
No working green (medium-wavelength) cones
#005EC5 ΔE2000 17.7
Distinct
Reads as vivid blue
-
Tritanopia
No working blue (short-wavelength) cones
#5E627F ΔE2000 17.9
Distinct
Reads as grayish blue
-
Achromatopsia
No cone color vision; lightness only
#606060 ΔE2000 28.6
Distinct
Reads as dark gray
Pairing check
Checked against its complement, #646E00. Their lightness contrast is only 1.12:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #7442C8 · #646E00 | 70.4 | Stays distinct |
| Protanopia | #0061CC · #776800 | 57.7 | Stays distinct |
| Deuteranopia | #005EC5 · #766910 | 56.4 | Stays distinct |
| Tritanopia | #5E627F · #6B675D | 19.4 | Stays distinct |
| Achromatopsia | #606060 · #686868 | 3.0 | Easily confused |
Harmony
Color harmonies for #7442C8
Its complement is #646E00, a soft yellow.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#7442C8
- Complement#646E00
Complementary
Open in Harmony Studio- −30°#3059D5
- Base#7442C8
- +30°#9C2DA2
Analogous
Open in Harmony Studio- Base#7442C8
- +120°#9B4F00
- +240°#007864
Triadic
Open in Harmony Studio- Base#7442C8
- +150°#816100
- +210°#007D24
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-crayola-purple-heart: #7442c8;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'crayola-purple-heart': '#7442c8',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-crayola-purple-heart: oklch(0.512 0.197 295.8);
}
{
"color": {
"crayola-purple-heart": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.4549, 0.2588, 0.7843],
"hex": "#7442c8"
},
"$description": "Crayola Purple Heart"
}
}
}
import SwiftUI
enum Palette {
static let crayolaPurpleHeart = Color(.sRGB, red: 0.455, green: 0.259, blue: 0.784, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val CrayolaPurpleHeart = Color(0xFF7442C8)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #7442C8 in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.