#9E6DF2#9E6DF2
#9E6DF2 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.6% C 0.193 H 297.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9E6DF2 |
|---|---|
| RGB | rgb(158, 109, 242) |
| HSL | hsl(262, 84%, 69%) |
| HSV | hsv(262, 55%, 95%) |
| CMYK | cmyk(34.7%, 55%, 0%, 5.1%) |
| CIE-LAB | lab(56.70, 47.03, -60.15) |
| CIE-LCH | lch(56.70, 76.35, 308.02°) |
| OKLab | oklab(64.65% 0.0898 -0.1704) |
| OKLCH | oklch(64.65% 0.193 297.8) |
| XYZ | xyz(35.5922, 24.6167, 86.8635) |
| Luminance | 0.2462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.79
Light Urple
#B36FF6
ΔE00 3.89
Lighter Purple
#A55AF4
ΔE00 4.50
Easter Purple
#C071FE
ΔE00 6.19
Mediumslateblue
#7B68EE
ΔE00 6.51
Light Purple
#BF77F6
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E6DF2 #C1F26D
analogous
#6D7FF2 #9E6DF2 #E06DF2
triadic
#9E6DF2 #F29E6D #6DF29E
tetradic
#9E6DF2 #F26D7F #C1F26D #6DF2E0
square
#9E6DF2 #F26D7F #C1F26D #6DF2E0
split-complementary
#9E6DF2 #F2E06D #7FF26D
monochromatic
#5913D2 #7935ED #9E6DF2 #C3A5F7 #E9DDFC
Accessibility & contrast
On white
3.55
#9E6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#9E6DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E6DF2
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E6DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E6DF2 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#4287EF
Tritanopia (blue-blind)
#8B88A5
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9e6df2; /* rgb */ color: rgb(158, 109, 242); /* oklch */ color: oklch(64.6% 0.193 297.8);
Tailwind
colors: {
custom: {
50: '#bf98f7',
500: '#9e6df2',
950: '#000000',
},
}SCSS
$custom: #9e6df2; $custom-light: #bf98f7; $custom-dark: #000000;
JSON
{
"hex": "#9e6df2",
"rgb": {
"r": 158,
"g": 109,
"b": 242
},
"hsl": {
"h": 262.105,
"s": 83.648,
"l": 68.824
},
"oklch": {
"l": 0.64645,
"c": 0.19257,
"h": 297.8
},
"luminance": 0.24617
}Semantic roles & 50–950 ramp
primary
#9E6DF2
secondary
#E3F1CA
accent
#E00590
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85