#9E6CF2#9E6CF2
#9E6CF2 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.5% C 0.194 H 298.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9E6CF2 |
|---|---|
| RGB | rgb(158, 108, 242) |
| HSL | hsl(262, 84%, 69%) |
| HSV | hsv(262, 55%, 95%) |
| CMYK | cmyk(34.7%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(56.49, 47.57, -60.48) |
| CIE-LCH | lch(56.49, 76.95, 308.19°) |
| OKLab | oklab(64.49% 0.091 -0.1714) |
| OKLCH | oklch(64.49% 0.194 298) |
| XYZ | xyz(35.4861, 24.4046, 86.8282) |
| Luminance | 0.2440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.85
Light Urple
#B36FF6
ΔE00 3.94
Lighter Purple
#A55AF4
ΔE00 4.25
Easter Purple
#C071FE
ΔE00 6.25
Mediumslateblue
#7B68EE
ΔE00 6.46
Lightish Purple
#A552E6
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E6CF2 #C0F26C
analogous
#6C7DF2 #9E6CF2 #E16CF2
triadic
#9E6CF2 #F29E6C #6CF29E
tetradic
#9E6CF2 #F26C7D #C0F26C #6CF2E1
square
#9E6CF2 #F26C7D #C0F26C #6CF2E1
split-complementary
#9E6CF2 #F2E16C #7DF26C
monochromatic
#5A12D1 #7934ED #9E6CF2 #C3A4F7 #E8DCFC
Accessibility & contrast
On white
3.57
#9E6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#9E6CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E6CF2
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E6CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E6CF2 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F88F6
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#8B87A5
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9e6cf2; /* rgb */ color: rgb(158, 108, 242); /* oklch */ color: oklch(64.5% 0.194 298.0);
Tailwind
colors: {
custom: {
50: '#bf98f7',
500: '#9e6cf2',
950: '#000000',
},
}SCSS
$custom: #9e6cf2; $custom-light: #bf98f7; $custom-dark: #000000;
JSON
{
"hex": "#9e6cf2",
"rgb": {
"r": 158,
"g": 108,
"b": 242
},
"hsl": {
"h": 262.388,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.6449,
"c": 0.19401,
"h": 298
},
"luminance": 0.24405
}Semantic roles & 50–950 ramp
primary
#9E6CF2
secondary
#E2F1C9
accent
#E0058F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85