#9E4FDA#9E4FDA
#9E4FDA is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.208 H 307.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4FDA |
|---|---|
| RGB | rgb(158, 79, 218) |
| HSL | hsl(274, 65%, 58%) |
| HSV | hsv(274, 64%, 85%) |
| CMYK | cmyk(27.5%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(49.40, 56.81, -58.37) |
| CIE-LCH | lch(49.40, 81.45, 314.22°) |
| OKLab | oklab(58.85% 0.1258 -0.1651) |
| OKLCH | oklch(58.85% 0.208 307.3) |
| XYZ | xyz(29.5488, 17.9234, 68.2190) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.34
Purpley
#8756E4
ΔE00 4.84
Lighter Purple
#A55AF4
ΔE00 5.01
Amethyst
#9B5FC0
ΔE00 5.63
Darkorchid
#9932CC
ΔE00 6.36
Electric Purple
#AA23FF
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4FDA #8BDA4F
analogous
#584FDA #9E4FDA #DA4FD0
triadic
#9E4FDA #DA9E4F #4FDA9E
tetradic
#9E4FDA #DA584F #8BDA4F #4FD0DA
square
#9E4FDA #DA584F #8BDA4F #4FD0DA
split-complementary
#9E4FDA #D0DA4F #4FDA58
monochromatic
#5F1E90 #8029C3 #9E4FDA #BA82E5 #D6B4EF
Accessibility & contrast
On white
4.58
#9E4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#9E4FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E4FDA
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E4FDA | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#946C8E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9e4fda; /* rgb */ color: rgb(158, 79, 218); /* oklch */ color: oklch(58.8% 0.208 307.3);
Tailwind
colors: {
custom: {
50: '#bf85e6',
500: '#9e4fda',
950: '#000000',
},
}SCSS
$custom: #9e4fda; $custom-light: #bf85e6; $custom-dark: #000000;
JSON
{
"hex": "#9e4fda",
"rgb": {
"r": 158,
"g": 79,
"b": 218
},
"hsl": {
"h": 274.101,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.58849,
"c": 0.20757,
"h": 307.3
},
"luminance": 0.17923
}Semantic roles & 50–950 ramp
primary
#9E4FDA
secondary
#BFDEA7
accent
#E84088
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84