#9E6AF2#9E6AF2
#9E6AF2 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.2% C 0.197 H 298.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9E6AF2 |
|---|---|
| RGB | rgb(158, 106, 242) |
| HSL | hsl(263, 84%, 68%) |
| HSV | hsv(263, 56%, 95%) |
| CMYK | cmyk(34.7%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(56.08, 48.66, -61.15) |
| CIE-LCH | lch(56.08, 78.15, 308.51°) |
| OKLab | oklab(64.19% 0.0934 -0.1733) |
| OKLCH | oklch(64.19% 0.197 298.3) |
| XYZ | xyz(35.2776, 23.9876, 86.7586) |
| Luminance | 0.2399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.76
Mediumpurple
#9370DB
ΔE00 4.01
Light Urple
#B36FF6
ΔE00 4.08
Lightish Purple
#A552E6
ΔE00 6.09
Mediumslateblue
#7B68EE
ΔE00 6.39
Easter Purple
#C071FE
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E6AF2 #BEF26A
analogous
#6A7AF2 #9E6AF2 #E26AF2
triadic
#9E6AF2 #F29E6A #6AF29E
tetradic
#9E6AF2 #F26A7A #BEF26A #6AF2E2
square
#9E6AF2 #F26A7A #BEF26A #6AF2E2
split-complementary
#9E6AF2 #F2E26A #7AF26A
monochromatic
#5B12CF #7932ED #9E6AF2 #C3A2F7 #E7DBFC
Accessibility & contrast
On white
3.62
#9E6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#9E6AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E6AF2
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E6AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E6AF2 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2987F6
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#8B86A4
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9e6af2; /* rgb */ color: rgb(158, 106, 242); /* oklch */ color: oklch(64.2% 0.197 298.3);
Tailwind
colors: {
custom: {
50: '#bf96f7',
500: '#9e6af2',
950: '#000000',
},
}SCSS
$custom: #9e6af2; $custom-light: #bf96f7; $custom-dark: #000000;
JSON
{
"hex": "#9e6af2",
"rgb": {
"r": 158,
"g": 106,
"b": 242
},
"hsl": {
"h": 262.941,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.64185,
"c": 0.19687,
"h": 298.3
},
"luminance": 0.23988
}Semantic roles & 50–950 ramp
primary
#9E6AF2
secondary
#E1F1C7
accent
#E0058D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85