#8B6CC7#8B6CC7
#8B6CC7 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.1% C 0.137 H 297.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8B6CC7 |
|---|---|
| RGB | rgb(139, 108, 199) |
| HSL | hsl(260, 45%, 60%) |
| HSV | hsv(260, 46%, 78%) |
| CMYK | cmyk(30.2%, 45.7%, 0%, 22%) |
| CIE-LAB | lab(52.22, 31.85, -43.16) |
| CIE-LCH | lch(52.22, 53.64, 306.43°) |
| OKLab | oklab(60.1% 0.0641 -0.1212) |
| OKLCH | oklch(60.1% 0.137 297.9) |
| XYZ | xyz(26.3164, 20.3374, 56.5608) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.58
Deep Lilac
#966EBD
ΔE00 3.84
Deep Lavender
#8D5EB7
ΔE00 5.27
Amethyst
#9B5FC0
ΔE00 5.64
Mediumslateblue
#7B68EE
ΔE00 7.45
Purpley
#8756E4
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B6CC7 #A8C76C
analogous
#6C7AC7 #8B6CC7 #B96CC7
triadic
#8B6CC7 #C78B6C #6CC78B
tetradic
#8B6CC7 #C76C7A #A8C76C #6CC7B9
square
#8B6CC7 #C76C7A #A8C76C #6CC7B9
split-complementary
#8B6CC7 #C7B96C #7AC76C
monochromatic
#4F3386 #6944B2 #8B6CC7 #AE98D8 #D1C5E9
Accessibility & contrast
On white
4.14
#8B6CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#8B6CC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B6CC7
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B6CC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B6CC7 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#507DCA
Deuteranopia (green-blind)
#567CC5
Tritanopia (blue-blind)
#7F7D90
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8b6cc7; /* rgb */ color: rgb(139, 108, 199); /* oklch */ color: oklch(60.1% 0.137 297.9);
Tailwind
colors: {
custom: {
50: '#af96d8',
500: '#8b6cc7',
950: '#000000',
},
}SCSS
$custom: #8b6cc7; $custom-light: #af96d8; $custom-dark: #000000;
JSON
{
"hex": "#8b6cc7",
"rgb": {
"r": 139,
"g": 108,
"b": 199
},
"hsl": {
"h": 260.44,
"s": 44.828,
"l": 60.196
},
"oklch": {
"l": 0.60098,
"c": 0.13707,
"h": 297.9
},
"luminance": 0.20338
}Semantic roles & 50–950 ramp
primary
#8B6CC7
secondary
#CDD9B6
accent
#B82E89
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83