#9946E4#9946E4
#9946E4 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.228 H 304.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9946E4 |
|---|---|
| RGB | rgb(153, 70, 228) |
| HSL | hsl(272, 75%, 58%) |
| HSV | hsv(272, 69%, 89%) |
| CMYK | cmyk(32.9%, 69.3%, 0%, 10.6%) |
| CIE-LAB | lab(47.95, 62.23, -66.43) |
| CIE-LCH | lch(47.95, 91.02, 313.13°) |
| OKLab | oklab(57.89% 0.1278 -0.1889) |
| OKLCH | oklch(57.89% 0.228 304.1) |
| XYZ | xyz(29.3274, 16.7541, 75.0726) |
| Luminance | 0.1675 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.83
Purpley
#8756E4
ΔE00 4.29
Electric Purple
#AA23FF
ΔE00 4.57
Bright Violet
#AD0AFD
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 5.37
Blueviolet
#8A2BE2
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9946E4 #91E446
analogous
#4A46E4 #9946E4 #E446E0
triadic
#9946E4 #E49946 #46E499
tetradic
#9946E4 #E44A46 #91E446 #46E0E4
square
#9946E4 #E44A46 #91E446 #46E0E4
split-complementary
#9946E4 #E0E446 #46E44A
monochromatic
#5B1699 #7B1ECF #9946E4 #B67BEC #D4B1F4
Accessibility & contrast
On white
4.83
#9946E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#9946E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9946E4
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9946E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9946E4 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#8B6B90
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9946e4; /* rgb */ color: rgb(153, 70, 228); /* oklch */ color: oklch(57.9% 0.228 304.1);
Tailwind
colors: {
custom: {
50: '#bd80ed',
500: '#9946e4',
950: '#000000',
},
}SCSS
$custom: #9946e4; $custom-light: #bd80ed; $custom-dark: #000000;
JSON
{
"hex": "#9946e4",
"rgb": {
"r": 153,
"g": 70,
"b": 228
},
"hsl": {
"h": 271.519,
"s": 74.528,
"l": 58.431
},
"oklch": {
"l": 0.57885,
"c": 0.22809,
"h": 304.1
},
"luminance": 0.16754
}Semantic roles & 50–950 ramp
primary
#9946E4
secondary
#C1E2A4
accent
#F1378F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84