#9A6BF6#9A6BF6
#9A6BF6 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.2% C 0.200 H 295.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9A6BF6 |
|---|---|
| RGB | rgb(154, 107, 246) |
| HSL | hsl(260, 89%, 69%) |
| HSV | hsv(260, 57%, 96%) |
| CMYK | cmyk(37.4%, 56.5%, 0%, 3.5%) |
| CIE-LAB | lab(56.13, 48.22, -63.31) |
| CIE-LCH | lch(56.13, 79.58, 307.30°) |
| OKLab | oklab(64.21% 0.0872 -0.1798) |
| OKLCH | oklch(64.21% 0.2 295.9) |
| XYZ | xyz(35.2144, 24.0386, 89.9555) |
| Luminance | 0.2404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.21
Lighter Purple
#A55AF4
ΔE00 4.34
Light Urple
#B36FF6
ΔE00 4.78
Mediumslateblue
#7B68EE
ΔE00 5.66
Lightish Purple
#A552E6
ΔE00 6.76
Easter Purple
#C071FE
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A6BF6 #C7F66B
analogous
#6B82F6 #9A6BF6 #E06BF6
triadic
#9A6BF6 #F69A6B #6BF69A
tetradic
#9A6BF6 #F66B82 #C7F66B #6BF6E0
square
#9A6BF6 #F66B82 #C7F66B #6BF6E0
split-complementary
#9A6BF6 #F6E06B #82F66B
monochromatic
#520DD9 #7331F2 #9A6BF6 #C1A5FA #E9DEFD
Accessibility & contrast
On white
3.62
#9A6BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#9A6BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A6BF6
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A6BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A6BF6 | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2187FB
Deuteranopia (green-blind)
#3585F3
Tritanopia (blue-blind)
#8488A6
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9a6bf6; /* rgb */ color: rgb(154, 107, 246); /* oklch */ color: oklch(64.2% 0.200 295.9);
Tailwind
colors: {
custom: {
50: '#bd97fa',
500: '#9a6bf6',
950: '#000000',
},
}SCSS
$custom: #9a6bf6; $custom-light: #bd97fa; $custom-dark: #000000;
JSON
{
"hex": "#9a6bf6",
"rgb": {
"r": 154,
"g": 107,
"b": 246
},
"hsl": {
"h": 260.288,
"s": 88.535,
"l": 69.216
},
"oklch": {
"l": 0.64207,
"c": 0.1998,
"h": 295.9
},
"luminance": 0.24039
}Semantic roles & 50–950 ramp
primary
#9A6BF6
secondary
#E5F3CA
accent
#E50098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85