#8B60B2#8B60B2
#8B60B2 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.8% C 0.130 H 306.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8B60B2 |
|---|---|
| RGB | rgb(139, 96, 178) |
| HSL | hsl(271, 35%, 54%) |
| HSV | hsv(271, 46%, 70%) |
| CMYK | cmyk(21.9%, 46.1%, 0%, 30.2%) |
| CIE-LAB | lab(48.35, 33.61, -37.14) |
| CIE-LCH | lch(48.35, 50.09, 312.14°) |
| OKLab | oklab(56.85% 0.0779 -0.1036) |
| OKLCH | oklch(56.85% 0.13 306.9) |
| XYZ | xyz(22.8646, 17.0693, 44.2010) |
| Luminance | 0.1707 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.21
Amethyst
#9B5FC0
ΔE00 3.78
Deep Lilac
#966EBD
ΔE00 5.01
Royal Purple
#7851A9
ΔE00 5.98
Dark Lavender
#856798
ΔE00 6.96
Dark Lilac
#9C6DA5
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B60B2 #87B260
analogous
#6260B2 #8B60B2 #B260B0
triadic
#8B60B2 #B28B60 #60B28B
tetradic
#8B60B2 #B26260 #87B260 #60B0B2
square
#8B60B2 #B26260 #87B260 #60B0B2
split-complementary
#8B60B2 #B0B260 #60B262
monochromatic
#4D3166 #6C458F #8B60B2 #A989C6 #C7B2DA
Accessibility & contrast
On white
4.76
#8B60B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#8B60B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B60B2
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B60B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B60B2 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#856D80
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8b60b2; /* rgb */ color: rgb(139, 96, 178); /* oklch */ color: oklch(56.8% 0.130 306.9);
Tailwind
colors: {
custom: {
50: '#af8ec9',
500: '#8b60b2',
950: '#000000',
},
}SCSS
$custom: #8b60b2; $custom-light: #af8ec9; $custom-dark: #000000;
JSON
{
"hex": "#8b60b2",
"rgb": {
"r": 139,
"g": 96,
"b": 178
},
"hsl": {
"h": 271.463,
"s": 34.746,
"l": 53.725
},
"oklch": {
"l": 0.56846,
"c": 0.12966,
"h": 306.9
},
"luminance": 0.17069
}Semantic roles & 50–950 ramp
primary
#8B60B2
secondary
#B6C8A5
accent
#CB5D91
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82