#9E6EF2#9E6EF2
#9E6EF2 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.8% C 0.191 H 297.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9E6EF2 |
|---|---|
| RGB | rgb(158, 110, 242) |
| HSL | hsl(262, 84%, 69%) |
| HSV | hsv(262, 55%, 95%) |
| CMYK | cmyk(34.7%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(56.91, 46.48, -59.81) |
| CIE-LCH | lch(56.91, 75.75, 307.85°) |
| OKLab | oklab(64.8% 0.0885 -0.1694) |
| OKLCH | oklch(64.8% 0.191 297.6) |
| XYZ | xyz(35.6995, 24.8313, 86.8993) |
| Luminance | 0.2483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.75
Light Urple
#B36FF6
ΔE00 3.85
Lighter Purple
#A55AF4
ΔE00 4.75
Easter Purple
#C071FE
ΔE00 6.14
Light Purple
#BF77F6
ΔE00 6.56
Mediumslateblue
#7B68EE
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E6EF2 #C2F26E
analogous
#6E80F2 #9E6EF2 #E06EF2
triadic
#9E6EF2 #F29E6E #6EF29E
tetradic
#9E6EF2 #F26E80 #C2F26E #6EF2E0
square
#9E6EF2 #F26E80 #C2F26E #6EF2E0
split-complementary
#9E6EF2 #F2E06E #80F26E
monochromatic
#5913D3 #7836ED #9E6EF2 #C4A6F7 #E9DEFC
Accessibility & contrast
On white
3.52
#9E6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#9E6EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E6EF2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E6EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E6EF2 | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#8B89A6
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9e6ef2; /* rgb */ color: rgb(158, 110, 242); /* oklch */ color: oklch(64.8% 0.191 297.6);
Tailwind
colors: {
custom: {
50: '#bf99f7',
500: '#9e6ef2',
950: '#000000',
},
}SCSS
$custom: #9e6ef2; $custom-light: #bf99f7; $custom-dark: #000000;
JSON
{
"hex": "#9e6ef2",
"rgb": {
"r": 158,
"g": 110,
"b": 242
},
"hsl": {
"h": 261.818,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.648,
"c": 0.19113,
"h": 297.6
},
"luminance": 0.24832
}Semantic roles & 50–950 ramp
primary
#9E6EF2
secondary
#E3F1CB
accent
#E00691
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85