#9E2FDA#9E2FDA
#9E2FDA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.5% C 0.244 H 310.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2FDA |
|---|---|
| RGB | rgb(158, 47, 218) |
| HSL | hsl(279, 70%, 52%) |
| HSV | hsv(279, 78%, 85%) |
| CMYK | cmyk(27.5%, 78.4%, 0%, 14.5%) |
| CIE-LAB | lab(44.75, 69.92, -65.90) |
| CIE-LCH | lch(44.75, 96.08, 316.70°) |
| OKLab | oklab(55.54% 0.1567 -0.187) |
| OKLCH | oklch(55.54% 0.244 310) |
| XYZ | xyz(27.7694, 14.3647, 67.6259) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.00
Vibrant Purple
#AD03DE
ΔE00 2.85
Violet (survey)
#9A0EEA
ΔE00 3.35
Blueviolet
#8A2BE2
ΔE00 3.91
Bright Violet
#AD0AFD
ΔE00 4.54
Vivid Purple
#9900FA
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2FDA #6BDA2F
analogous
#482FDA #9E2FDA #DA2FC1
triadic
#9E2FDA #DA9E2F #2FDA9E
tetradic
#9E2FDA #DA482F #6BDA2F #2FC1DA
square
#9E2FDA #DA482F #6BDA2F #2FC1DA
split-complementary
#9E2FDA #C1DA2F #2FDA48
monochromatic
#561679 #7B1FAD #9E2FDA #B663E3 #CE97EC
Accessibility & contrast
On white
5.42
#9E2FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#9E2FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2FDA
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2FDA | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#955A85
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9e2fda; /* rgb */ color: rgb(158, 47, 218); /* oklch */ color: oklch(55.5% 0.244 310.0);
Tailwind
colors: {
custom: {
50: '#c075e6',
500: '#9e2fda',
950: '#000000',
},
}SCSS
$custom: #9e2fda; $custom-light: #c075e6; $custom-dark: #000000;
JSON
{
"hex": "#9e2fda",
"rgb": {
"r": 158,
"g": 47,
"b": 218
},
"hsl": {
"h": 278.947,
"s": 69.796,
"l": 51.961
},
"oklch": {
"l": 0.5554,
"c": 0.24401,
"h": 310
},
"luminance": 0.14364
}Semantic roles & 50–950 ramp
primary
#9E2FDA
secondary
#A7D88D
accent
#ED3B79
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84