#9E2FD8#9E2FD8
#9E2FD8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.4% C 0.242 H 310.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2FD8 |
|---|---|
| RGB | rgb(158, 47, 216) |
| HSL | hsl(279, 68%, 52%) |
| HSV | hsv(279, 78%, 85%) |
| CMYK | cmyk(26.9%, 78.2%, 0%, 15.3%) |
| CIE-LAB | lab(44.60, 69.51, -64.99) |
| CIE-LCH | lch(44.60, 95.16, 316.93°) |
| OKLab | oklab(55.39% 0.1572 -0.1844) |
| OKLCH | oklch(55.39% 0.242 310.4) |
| XYZ | xyz(27.5093, 14.2606, 66.2559) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.74
Vibrant Purple
#AD03DE
ΔE00 2.82
Violet (survey)
#9A0EEA
ΔE00 3.48
Blueviolet
#8A2BE2
ΔE00 4.01
Bright Violet
#AD0AFD
ΔE00 4.78
Darkviolet
#9400D3
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2FD8 #69D82F
analogous
#4A2FD8 #9E2FD8 #D82FBE
triadic
#9E2FD8 #D89E2F #2FD89E
tetradic
#9E2FD8 #D84A2F #69D82F #2FBED8
square
#9E2FD8 #D84A2F #69D82F #2FBED8
split-complementary
#9E2FD8 #BED82F #2FD84A
monochromatic
#551676 #7B20AA #9E2FD8 #B663E2 #CE96EB
Accessibility & contrast
On white
5.45
#9E2FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#9E2FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2FD8
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2FD8 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#965984
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9e2fd8; /* rgb */ color: rgb(158, 47, 216); /* oklch */ color: oklch(55.4% 0.242 310.4);
Tailwind
colors: {
custom: {
50: '#c075e5',
500: '#9e2fd8',
950: '#000000',
},
}SCSS
$custom: #9e2fd8; $custom-light: #c075e5; $custom-dark: #000000;
JSON
{
"hex": "#9e2fd8",
"rgb": {
"r": 158,
"g": 47,
"b": 216
},
"hsl": {
"h": 279.408,
"s": 68.421,
"l": 51.569
},
"oklch": {
"l": 0.55391,
"c": 0.24226,
"h": 310.4
},
"luminance": 0.1426
}Semantic roles & 50–950 ramp
primary
#9E2FD8
secondary
#A6D78C
accent
#EB3D79
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130916
muted
#827B84