#9E7AFD#9E7AFD
#9E7AFD is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.187 H 293.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7AFD |
|---|---|
| RGB | rgb(158, 122, 253) |
| HSL | hsl(256, 97%, 74%) |
| HSV | hsv(256, 52%, 99%) |
| CMYK | cmyk(37.5%, 51.8%, 0%, 0.8%) |
| CIE-LAB | lab(60.14, 42.67, -60.72) |
| CIE-LCH | lch(60.14, 74.21, 305.10°) |
| OKLab | oklab(67.4% 0.0744 -0.1721) |
| OKLCH | oklch(67.4% 0.187 293.4) |
| XYZ | xyz(38.7850, 28.2791, 96.3244) |
| Luminance | 0.2828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.12
Light Urple
#B36FF6
ΔE00 5.18
Mediumpurple
#9370DB
ΔE00 5.74
Lavender Blue
#8B88F8
ΔE00 6.02
Easter Purple
#C071FE
ΔE00 6.61
Light Purple
#BF77F6
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7AFD #D9FD7A
analogous
#7A97FD #9E7AFD #E07AFD
triadic
#9E7AFD #FD9E7A #7AFD9E
tetradic
#9E7AFD #FD7A97 #D9FD7A #7AFDE0
square
#9E7AFD #FD7A97 #D9FD7A #7AFDE0
split-complementary
#9E7AFD #FDE07A #97FD7A
monochromatic
#4704F9 #723EFC #9E7AFD #CAB6FE #E9E1FF
Accessibility & contrast
On white
3.16
#9E7AFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#9E7AFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7AFD
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7AFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7AFD | 1.00 | 3.16 | 6.66 | 6.66 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#4A8FFA
Tritanopia (blue-blind)
#8695B0
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9e7afd; /* rgb */ color: rgb(158, 122, 253); /* oklch */ color: oklch(67.4% 0.187 293.4);
Tailwind
colors: {
custom: {
50: '#bfa1ff',
500: '#9e7afd',
950: '#000000',
},
}SCSS
$custom: #9e7afd; $custom-light: #bfa1ff; $custom-dark: #000000;
JSON
{
"hex": "#9e7afd",
"rgb": {
"r": 158,
"g": 122,
"b": 253
},
"hsl": {
"h": 256.489,
"s": 97.037,
"l": 73.529
},
"oklch": {
"l": 0.67397,
"c": 0.18747,
"h": 293.4
},
"luminance": 0.2828
}Semantic roles & 50–950 ramp
primary
#9E7AFD
secondary
#EDF7D4
accent
#E600A6
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86