#9C7DFD#9C7DFD
#9C7DFD is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.183 H 291.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7DFD |
|---|---|
| RGB | rgb(156, 125, 253) |
| HSL | hsl(255, 97%, 74%) |
| HSV | hsv(255, 51%, 99%) |
| CMYK | cmyk(38.3%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(60.63, 40.52, -59.95) |
| CIE-LCH | lch(60.63, 72.36, 304.05°) |
| OKLab | oklab(67.72% 0.0684 -0.1698) |
| OKLCH | oklch(67.72% 0.183 291.9) |
| XYZ | xyz(38.7688, 28.8260, 96.4308) |
| Luminance | 0.2883 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.29
Lavender Blue
#8B88F8
ΔE00 5.12
Light Urple
#B36FF6
ΔE00 6.01
Mediumpurple
#9370DB
ΔE00 6.13
Perrywinkle
#8F8CE7
ΔE00 6.46
Light Purple
#BF77F6
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7DFD #DEFD7D
analogous
#7D9EFD #9C7DFD #DC7DFD
triadic
#9C7DFD #FD9C7D #7DFD9C
tetradic
#9C7DFD #FD7D9E #DEFD7D #7DFDDC
square
#9C7DFD #FD7D9E #DEFD7D #7DFDDC
split-complementary
#9C7DFD #FDDC7D #9EFD7D
monochromatic
#4004FB #6E41FC #9C7DFD #CAB9FE #E8E1FF
Accessibility & contrast
On white
3.10
#9C7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.77
#9C7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7DFD
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7DFD | 1.00 | 3.10 | 6.77 | 6.77 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#4D90FA
Tritanopia (blue-blind)
#8397B1
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9c7dfd; /* rgb */ color: rgb(156, 125, 253); /* oklch */ color: oklch(67.7% 0.183 291.9);
Tailwind
colors: {
custom: {
50: '#bea3ff',
500: '#9c7dfd',
950: '#000000',
},
}SCSS
$custom: #9c7dfd; $custom-light: #bea3ff; $custom-dark: #000000;
JSON
{
"hex": "#9c7dfd",
"rgb": {
"r": 156,
"g": 125,
"b": 253
},
"hsl": {
"h": 254.531,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.67717,
"c": 0.1831,
"h": 291.9
},
"luminance": 0.28827
}Semantic roles & 50–950 ramp
primary
#9C7DFD
secondary
#EEF7D4
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86