#9942E0#9942E0
#9942E0 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.229 H 305.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9942E0 |
|---|---|
| RGB | rgb(153, 66, 224) |
| HSL | hsl(273, 72%, 57%) |
| HSV | hsv(273, 71%, 88%) |
| CMYK | cmyk(31.7%, 70.5%, 0%, 12.2%) |
| CIE-LAB | lab(47.04, 63.08, -65.63) |
| CIE-LCH | lch(47.04, 91.03, 313.86°) |
| OKLab | oklab(57.15% 0.1324 -0.1865) |
| OKLCH | oklch(57.15% 0.229 305.4) |
| XYZ | xyz(28.5366, 16.0508, 72.1013) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.33
Electric Purple
#AA23FF
ΔE00 4.56
Lightish Purple
#A552E6
ΔE00 4.63
Purpley
#8756E4
ΔE00 5.02
Blueviolet
#8A2BE2
ΔE00 5.10
Bright Violet
#AD0AFD
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9942E0 #89E042
analogous
#4A42E0 #9942E0 #E042D8
triadic
#9942E0 #E09942 #42E099
tetradic
#9942E0 #E04A42 #89E042 #42D8E0
square
#9942E0 #E04A42 #89E042 #42D8E0
split-complementary
#9942E0 #D8E042 #42E04A
monochromatic
#5A1890 #7B20C5 #9942E0 #B577E9 #D2ABF1
Accessibility & contrast
On white
4.99
#9942E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#9942E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9942E0
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9942E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9942E0 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#8C678D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9942e0; /* rgb */ color: rgb(153, 66, 224); /* oklch */ color: oklch(57.1% 0.229 305.4);
Tailwind
colors: {
custom: {
50: '#bc7deb',
500: '#9942e0',
950: '#000000',
},
}SCSS
$custom: #9942e0; $custom-light: #bc7deb; $custom-dark: #000000;
JSON
{
"hex": "#9942e0",
"rgb": {
"r": 153,
"g": 66,
"b": 224
},
"hsl": {
"h": 273.038,
"s": 71.818,
"l": 56.863
},
"oklch": {
"l": 0.5715,
"c": 0.22873,
"h": 305.4
},
"luminance": 0.16051
}Semantic roles & 50–950 ramp
primary
#9942E0
secondary
#BCDF9F
accent
#EF398B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84