#9D7DFD#9D7DFD
#9D7DFD is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.8% C 0.183 H 292.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7DFD |
|---|---|
| RGB | rgb(157, 125, 253) |
| HSL | hsl(255, 97%, 74%) |
| HSV | hsv(255, 51%, 99%) |
| CMYK | cmyk(37.9%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(60.72, 40.75, -59.80) |
| CIE-LCH | lch(60.72, 72.37, 304.27°) |
| OKLab | oklab(67.8% 0.0696 -0.1694) |
| OKLCH | oklch(67.8% 0.183 292.3) |
| XYZ | xyz(38.9631, 28.9262, 96.4399) |
| Luminance | 0.2893 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.46
Lavender Blue
#8B88F8
ΔE00 5.26
Light Urple
#B36FF6
ΔE00 5.86
Mediumpurple
#9370DB
ΔE00 6.14
Perrywinkle
#8F8CE7
ΔE00 6.55
Light Purple
#BF77F6
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7DFD #DDFD7D
analogous
#7D9DFD #9D7DFD #DD7DFD
triadic
#9D7DFD #FD9D7D #7DFD9D
tetradic
#9D7DFD #FD7D9D #DDFD7D #7DFDDD
square
#9D7DFD #FD7D9D #DDFD7D #7DFDDD
split-complementary
#9D7DFD #FDDD7D #9DFD7D
monochromatic
#4204FB #7041FC #9D7DFD #CAB9FE #E8E1FF
Accessibility & contrast
On white
3.09
#9D7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#9D7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7DFD
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7DFD | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#8497B1
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9d7dfd; /* rgb */ color: rgb(157, 125, 253); /* oklch */ color: oklch(67.8% 0.183 292.3);
Tailwind
colors: {
custom: {
50: '#bea3ff',
500: '#9d7dfd',
950: '#000000',
},
}SCSS
$custom: #9d7dfd; $custom-light: #bea3ff; $custom-dark: #000000;
JSON
{
"hex": "#9d7dfd",
"rgb": {
"r": 157,
"g": 125,
"b": 253
},
"hsl": {
"h": 255,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.67804,
"c": 0.18313,
"h": 292.3
},
"luminance": 0.28927
}Semantic roles & 50–950 ramp
primary
#9D7DFD
secondary
#EEF7D4
accent
#E600AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86