#9E7AFB#9E7AFB
#9E7AFB is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.185 H 293.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7AFB |
|---|---|
| RGB | rgb(158, 122, 251) |
| HSL | hsl(257, 94%, 73%) |
| HSV | hsv(257, 51%, 98%) |
| CMYK | cmyk(37.1%, 51.4%, 0%, 1.6%) |
| CIE-LAB | lab(60.03, 42.15, -59.80) |
| CIE-LCH | lch(60.03, 73.16, 305.18°) |
| OKLab | oklab(67.27% 0.0743 -0.1694) |
| OKLCH | oklch(67.27% 0.185 293.7) |
| XYZ | xyz(38.4681, 28.1524, 94.6553) |
| Luminance | 0.2815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.19
Light Urple
#B36FF6
ΔE00 5.09
Mediumpurple
#9370DB
ΔE00 5.51
Lavender Blue
#8B88F8
ΔE00 6.05
Easter Purple
#C071FE
ΔE00 6.57
Light Purple
#BF77F6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7AFB #D7FB7A
analogous
#7A96FB #9E7AFB #DE7AFB
triadic
#9E7AFB #FB9E7A #7AFB9E
tetradic
#9E7AFB #FB7A96 #D7FB7A #7AFBDE
square
#9E7AFB #FB7A96 #D7FB7A #7AFBDE
split-complementary
#9E7AFB #FBDE7A #96FB7A
monochromatic
#4907F3 #733FF9 #9E7AFB #C9B5FD #E9E1FE
Accessibility & contrast
On white
3.17
#9E7AFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#9E7AFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7AFB
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7AFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7AFB | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#8794AF
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9e7afb; /* rgb */ color: rgb(158, 122, 251); /* oklch */ color: oklch(67.3% 0.185 293.7);
Tailwind
colors: {
custom: {
50: '#bfa1fd',
500: '#9e7afb',
950: '#000000',
},
}SCSS
$custom: #9e7afb; $custom-light: #bfa1fd; $custom-dark: #000000;
JSON
{
"hex": "#9e7afb",
"rgb": {
"r": 158,
"g": 122,
"b": 251
},
"hsl": {
"h": 256.744,
"s": 94.161,
"l": 73.137
},
"oklch": {
"l": 0.67275,
"c": 0.18495,
"h": 293.7
},
"luminance": 0.28153
}Semantic roles & 50–950 ramp
primary
#9E7AFB
secondary
#EDF6D5
accent
#E600A5
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86