#9E7FF6#9E7FF6
#9E7FF6 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.8% C 0.171 H 293.3°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7FF6 |
|---|---|
| RGB | rgb(158, 127, 246) |
| HSL | hsl(256, 87%, 73%) |
| HSV | hsv(256, 48%, 96%) |
| CMYK | cmyk(35.8%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(60.87, 38.04, -55.69) |
| CIE-LCH | lch(60.87, 67.44, 304.33°) |
| OKLab | oklab(67.82% 0.0677 -0.1573) |
| OKLCH | oklch(67.82% 0.171 293.3) |
| XYZ | xyz(38.3201, 29.1008, 90.7690) |
| Luminance | 0.2910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.79
Lavender Blue
#8B88F8
ΔE00 5.21
Mediumpurple
#9370DB
ΔE00 5.78
Light Urple
#B36FF6
ΔE00 5.88
Perrywinkle
#8F8CE7
ΔE00 5.92
Light Purple
#BF77F6
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7FF6 #D7F67F
analogous
#7F9BF6 #9E7FF6 #D97FF6
triadic
#9E7FF6 #F69E7F #7FF69E
tetradic
#9E7FF6 #F67F9B #D7F67F #7FF6D9
square
#9E7FF6 #F67F9B #D7F67F #7FF6D9
split-complementary
#9E7FF6 #F6D97F #9BF67F
monochromatic
#4910EA #7346F2 #9E7FF6 #C9B8FA #E9E2FD
Accessibility & contrast
On white
3.08
#9E7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#9E7FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7FF6
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7FF6 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5394FA
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#8996AF
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9e7ff6; /* rgb */ color: rgb(158, 127, 246); /* oklch */ color: oklch(67.8% 0.171 293.3);
Tailwind
colors: {
custom: {
50: '#bea4fa',
500: '#9e7ff6',
950: '#000000',
},
}SCSS
$custom: #9e7ff6; $custom-light: #bea4fa; $custom-dark: #000000;
JSON
{
"hex": "#9e7ff6",
"rgb": {
"r": 158,
"g": 127,
"b": 246
},
"hsl": {
"h": 255.63,
"s": 86.861,
"l": 73.137
},
"oklch": {
"l": 0.67816,
"c": 0.17128,
"h": 293.3
},
"luminance": 0.29102
}Semantic roles & 50–950 ramp
primary
#9E7FF6
secondary
#EDF5D6
accent
#E302A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85