#9E6CF5#9E6CF5
#9E6CF5 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.198 H 297.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9E6CF5 |
|---|---|
| RGB | rgb(158, 108, 245) |
| HSL | hsl(262, 87%, 69%) |
| HSV | hsv(262, 56%, 96%) |
| CMYK | cmyk(35.5%, 55.9%, 0%, 3.9%) |
| CIE-LAB | lab(56.67, 48.33, -61.86) |
| CIE-LCH | lch(56.67, 78.50, 308.00°) |
| OKLab | oklab(64.68% 0.091 -0.1754) |
| OKLCH | oklch(64.68% 0.198 297.4) |
| XYZ | xyz(35.9404, 24.5863, 89.2206) |
| Luminance | 0.2459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.98
Mediumpurple
#9370DB
ΔE00 4.19
Lighter Purple
#A55AF4
ΔE00 4.30
Easter Purple
#C071FE
ΔE00 6.23
Mediumslateblue
#7B68EE
ΔE00 6.42
Lightish Purple
#A552E6
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E6CF5 #C3F56C
analogous
#6C7FF5 #9E6CF5 #E36CF5
triadic
#9E6CF5 #F59E6C #6CF59E
tetradic
#9E6CF5 #F56C7F #C3F56C #6CF5E3
square
#9E6CF5 #F56C7F #C3F56C #6CF5E3
split-complementary
#9E6CF5 #F5E36C #7FF56C
monochromatic
#580FD8 #7833F1 #9E6CF5 #C4A5F9 #EADFFD
Accessibility & contrast
On white
3.55
#9E6CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#9E6CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E6CF5
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E6CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E6CF5 | 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)
#2A88FA
Deuteranopia (green-blind)
#3D86F2
Tritanopia (blue-blind)
#8A88A6
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9e6cf5; /* rgb */ color: rgb(158, 108, 245); /* oklch */ color: oklch(64.7% 0.198 297.4);
Tailwind
colors: {
custom: {
50: '#bf98f9',
500: '#9e6cf5',
950: '#000000',
},
}SCSS
$custom: #9e6cf5; $custom-light: #bf98f9; $custom-dark: #000000;
JSON
{
"hex": "#9e6cf5",
"rgb": {
"r": 158,
"g": 108,
"b": 245
},
"hsl": {
"h": 261.898,
"s": 87.261,
"l": 69.216
},
"oklch": {
"l": 0.6468,
"c": 0.19762,
"h": 297.4
},
"luminance": 0.24587
}Semantic roles & 50–950 ramp
primary
#9E6CF5
secondary
#E4F2CA
accent
#E40291
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85