#9E7DF7#9E7DF7
#9E7DF7 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.5% C 0.176 H 293.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7DF7 |
|---|---|
| RGB | rgb(158, 125, 247) |
| HSL | hsl(256, 88%, 73%) |
| HSV | hsv(256, 49%, 97%) |
| CMYK | cmyk(36%, 49.4%, 0%, 3.1%) |
| CIE-LAB | lab(60.47, 39.42, -56.88) |
| CIE-LCH | lch(60.47, 69.21, 304.73°) |
| OKLab | oklab(67.54% 0.0703 -0.1608) |
| OKLCH | oklch(67.54% 0.176 293.6) |
| XYZ | xyz(38.2183, 28.6509, 91.4942) |
| Luminance | 0.2865 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.95
Light Urple
#B36FF6
ΔE00 5.49
Mediumpurple
#9370DB
ΔE00 5.52
Lavender Blue
#8B88F8
ΔE00 5.55
Perrywinkle
#8F8CE7
ΔE00 6.41
Light Purple
#BF77F6
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7DF7 #D6F77D
analogous
#7D99F7 #9E7DF7 #DB7DF7
triadic
#9E7DF7 #F79E7D #7DF79E
tetradic
#9E7DF7 #F77D99 #D6F77D #7DF7DB
square
#9E7DF7 #F77D99 #D6F77D #7DF7DB
split-complementary
#9E7DF7 #F7DB7D #99F77D
monochromatic
#4A0EEB #7343F3 #9E7DF7 #C9B7FB #E9E2FD
Accessibility & contrast
On white
3.12
#9E7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#9E7DF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7DF7
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7DF7 | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#8895AF
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9e7df7; /* rgb */ color: rgb(158, 125, 247); /* oklch */ color: oklch(67.5% 0.176 293.6);
Tailwind
colors: {
custom: {
50: '#bea3fa',
500: '#9e7df7',
950: '#000000',
},
}SCSS
$custom: #9e7df7; $custom-light: #bea3fa; $custom-dark: #000000;
JSON
{
"hex": "#9e7df7",
"rgb": {
"r": 158,
"g": 125,
"b": 247
},
"hsl": {
"h": 256.23,
"s": 88.406,
"l": 72.941
},
"oklch": {
"l": 0.67536,
"c": 0.17551,
"h": 293.6
},
"luminance": 0.28652
}Semantic roles & 50–950 ramp
primary
#9E7DF7
secondary
#EDF5D6
accent
#E500A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85