#9E46DC#9E46DC
#9E46DC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.221 H 307.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9E46DC |
|---|---|
| RGB | rgb(158, 70, 220) |
| HSL | hsl(275, 68%, 57%) |
| HSV | hsv(275, 68%, 86%) |
| CMYK | cmyk(28.2%, 68.2%, 0%, 13.7%) |
| CIE-LAB | lab(48.03, 61.42, -61.73) |
| CIE-LCH | lch(48.03, 87.08, 314.86°) |
| OKLab | oklab(57.9% 0.1354 -0.1749) |
| OKLCH | oklch(57.9% 0.221 307.8) |
| XYZ | xyz(29.2063, 16.8171, 69.4037) |
| Luminance | 0.1682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.58
Darkorchid
#9932CC
ΔE00 4.78
Electric Purple
#AA23FF
ΔE00 5.11
Purpley
#8756E4
ΔE00 5.31
Bright Violet
#AD0AFD
ΔE00 5.70
Vibrant Purple
#AD03DE
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E46DC #84DC46
analogous
#5346DC #9E46DC #DC46CF
triadic
#9E46DC #DC9E46 #46DC9E
tetradic
#9E46DC #DC5346 #84DC46 #46CFDC
square
#9E46DC #DC5346 #84DC46 #46CFDC
split-complementary
#9E46DC #CFDC46 #46DC53
monochromatic
#5E1B8D #8024C0 #9E46DC #B979E6 #D4ADEF
Accessibility & contrast
On white
4.81
#9E46DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#9E46DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E46DC
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E46DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E46DC | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#2173D9
Tritanopia (blue-blind)
#94678C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9e46dc; /* rgb */ color: rgb(158, 70, 220); /* oklch */ color: oklch(57.9% 0.221 307.8);
Tailwind
colors: {
custom: {
50: '#bf80e8',
500: '#9e46dc',
950: '#000000',
},
}SCSS
$custom: #9e46dc; $custom-light: #bf80e8; $custom-dark: #000000;
JSON
{
"hex": "#9e46dc",
"rgb": {
"r": 158,
"g": 70,
"b": 220
},
"hsl": {
"h": 275.2,
"s": 68.182,
"l": 56.863
},
"oklch": {
"l": 0.57903,
"c": 0.22122,
"h": 307.8
},
"luminance": 0.16817
}Semantic roles & 50–950 ramp
primary
#9E46DC
secondary
#BADDA0
accent
#EB3D85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84