#9B6FE2#9B6FE2
#9B6FE2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.7% C 0.170 H 299.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9B6FE2 |
|---|---|
| RGB | rgb(155, 111, 226) |
| HSL | hsl(263, 66%, 66%) |
| HSV | hsv(263, 51%, 89%) |
| CMYK | cmyk(31.4%, 50.9%, 0%, 11.4%) |
| CIE-LAB | lab(55.92, 41.18, -52.48) |
| CIE-LCH | lch(55.92, 66.71, 308.12°) |
| OKLab | oklab(63.7% 0.0827 -0.148) |
| OKLCH | oklch(63.7% 0.17 299.2) |
| XYZ | xyz(32.9262, 23.8282, 74.8014) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 1.79
Light Urple
#B36FF6
ΔE00 4.80
Lighter Purple
#A55AF4
ΔE00 5.55
Deep Lilac
#966EBD
ΔE00 6.51
Mediumslateblue
#7B68EE
ΔE00 6.83
Lightish Purple
#A552E6
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B6FE2 #B6E26F
analogous
#6F7CE2 #9B6FE2 #D56FE2
triadic
#9B6FE2 #E29B6F #6FE29B
tetradic
#9B6FE2 #E26F7C #B6E26F #6FE2D5
square
#9B6FE2 #E26F7C #B6E26F #6FE2D5
split-complementary
#9B6FE2 #E2D56F #7CE26F
monochromatic
#5B24B3 #783CD8 #9B6FE2 #BEA2EC #E2D5F7
Accessibility & contrast
On white
3.64
#9B6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#9B6FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B6FE2
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B6FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B6FE2 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#5285DF
Tritanopia (blue-blind)
#8C859E
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9b6fe2; /* rgb */ color: rgb(155, 111, 226); /* oklch */ color: oklch(63.7% 0.170 299.2);
Tailwind
colors: {
custom: {
50: '#bc99ec',
500: '#9b6fe2',
950: '#000000',
},
}SCSS
$custom: #9b6fe2; $custom-light: #bc99ec; $custom-dark: #000000;
JSON
{
"hex": "#9b6fe2",
"rgb": {
"r": 155,
"g": 111,
"b": 226
},
"hsl": {
"h": 262.957,
"s": 66.474,
"l": 66.078
},
"oklch": {
"l": 0.63699,
"c": 0.16955,
"h": 299.2
},
"luminance": 0.23828
}Semantic roles & 50–950 ramp
primary
#9B6FE2
secondary
#DBE9C4
accent
#CE1788
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84