#9B6CC7#9B6CC7
#9B6CC7 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.141 H 306.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9B6CC7 |
|---|---|
| RGB | rgb(155, 108, 199) |
| HSL | hsl(271, 45%, 60%) |
| HSV | hsv(271, 46%, 78%) |
| CMYK | cmyk(22.1%, 45.7%, 0%, 22%) |
| CIE-LAB | lab(53.83, 36.33, -40.50) |
| CIE-LCH | lch(53.83, 54.40, 311.89°) |
| OKLab | oklab(61.69% 0.0838 -0.113) |
| OKLCH | oklch(61.69% 0.141 306.5) |
| XYZ | xyz(29.1869, 21.8175, 56.6954) |
| Luminance | 0.2182 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.14
Amethyst
#9B5FC0
ΔE00 3.88
Mediumpurple
#9370DB
ΔE00 4.59
Deep Lavender
#8D5EB7
ΔE00 5.45
Soft Purple
#A66FB5
ΔE00 5.53
Wisteria
#A87DC2
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B6CC7 #98C76C
analogous
#6D6CC7 #9B6CC7 #C76CC6
triadic
#9B6CC7 #C79B6C #6CC79B
tetradic
#9B6CC7 #C76D6C #98C76C #6CC6C7
square
#9B6CC7 #C76D6C #98C76C #6CC6C7
split-complementary
#9B6CC7 #C6C76C #6CC76D
monochromatic
#5E3386 #7D44B2 #9B6CC7 #B998D8 #D7C5E9
Accessibility & contrast
On white
3.92
#9B6CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#9B6CC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B6CC7
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B6CC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B6CC7 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#947B90
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9b6cc7; /* rgb */ color: rgb(155, 108, 199); /* oklch */ color: oklch(61.7% 0.141 306.5);
Tailwind
colors: {
custom: {
50: '#ba97d8',
500: '#9b6cc7',
950: '#000000',
},
}SCSS
$custom: #9b6cc7; $custom-light: #ba97d8; $custom-dark: #000000;
JSON
{
"hex": "#9b6cc7",
"rgb": {
"r": 155,
"g": 108,
"b": 199
},
"hsl": {
"h": 270.989,
"s": 44.828,
"l": 60.196
},
"oklch": {
"l": 0.61686,
"c": 0.14072,
"h": 306.5
},
"luminance": 0.21817
}Semantic roles & 50–950 ramp
primary
#9B6CC7
secondary
#C7D9B6
accent
#B82E70
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83