#9E7DFD#9E7DFD
#9E7DFD is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.183 H 292.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7DFD |
|---|---|
| RGB | rgb(158, 125, 253) |
| HSL | hsl(255, 97%, 74%) |
| HSV | hsv(255, 51%, 99%) |
| CMYK | cmyk(37.5%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(60.81, 40.99, -59.65) |
| CIE-LCH | lch(60.81, 72.38, 304.50°) |
| OKLab | oklab(67.89% 0.0708 -0.1689) |
| OKLCH | oklch(67.89% 0.183 292.7) |
| XYZ | xyz(39.1591, 29.0272, 96.4491) |
| Luminance | 0.2903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.64
Lavender Blue
#8B88F8
ΔE00 5.41
Light Urple
#B36FF6
ΔE00 5.70
Mediumpurple
#9370DB
ΔE00 6.15
Perrywinkle
#8F8CE7
ΔE00 6.65
Light Purple
#BF77F6
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7DFD #DCFD7D
analogous
#7D9CFD #9E7DFD #DE7DFD
triadic
#9E7DFD #FD9E7D #7DFD9E
tetradic
#9E7DFD #FD7D9C #DCFD7D #7DFDDE
square
#9E7DFD #FD7D9C #DCFD7D #7DFDDE
split-complementary
#9E7DFD #FDDE7D #9CFD7D
monochromatic
#4404FB #7141FC #9E7DFD #CBB9FE #E9E1FF
Accessibility & contrast
On white
3.09
#9E7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#9E7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7DFD
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7DFD | 1.00 | 3.09 | 6.81 | 6.81 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#8697B1
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9e7dfd; /* rgb */ color: rgb(158, 125, 253); /* oklch */ color: oklch(67.9% 0.183 292.7);
Tailwind
colors: {
custom: {
50: '#bfa3ff',
500: '#9e7dfd',
950: '#000000',
},
}SCSS
$custom: #9e7dfd; $custom-light: #bfa3ff; $custom-dark: #000000;
JSON
{
"hex": "#9e7dfd",
"rgb": {
"r": 158,
"g": 125,
"b": 253
},
"hsl": {
"h": 255.469,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.67892,
"c": 0.18316,
"h": 292.7
},
"luminance": 0.29028
}Semantic roles & 50–950 ramp
primary
#9E7DFD
secondary
#EEF7D4
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86