#8B5CC7#8B5CC7
#8B5CC7 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.162 H 301.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8B5CC7 |
|---|---|
| RGB | rgb(139, 92, 199) |
| HSL | hsl(266, 49%, 57%) |
| HSV | hsv(266, 54%, 78%) |
| CMYK | cmyk(30.2%, 53.8%, 0%, 22%) |
| CIE-LAB | lab(48.59, 41.00, -48.92) |
| CIE-LCH | lch(48.59, 63.83, 309.97°) |
| OKLab | oklab(57.4% 0.0855 -0.138) |
| OKLCH | oklch(57.4% 0.162 301.8) |
| XYZ | xyz(24.7810, 17.2667, 56.0490) |
| Luminance | 0.1727 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.22
Amethyst
#9B5FC0
ΔE00 4.22
Purpley
#8756E4
ΔE00 4.86
Lightish Purple
#A552E6
ΔE00 6.22
Light Indigo
#6D5ACF
ΔE00 6.45
Royal Purple
#7851A9
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B5CC7 #98C75C
analogous
#5C63C7 #8B5CC7 #C05CC7
triadic
#8B5CC7 #C78B5C #5CC78B
tetradic
#8B5CC7 #C75C63 #98C75C #5CC7C0
square
#8B5CC7 #C75C63 #98C75C #5CC7C0
split-complementary
#8B5CC7 #C7C05C #63C75C
monochromatic
#4F2B7D #6C3BAB #8B5CC7 #AB8AD7 #CCB7E6
Accessibility & contrast
On white
4.72
#8B5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#8B5CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B5CC7
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B5CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B5CC7 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3473CB
Deuteranopia (green-blind)
#4373C4
Tritanopia (blue-blind)
#7F7189
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8b5cc7; /* rgb */ color: rgb(139, 92, 199); /* oklch */ color: oklch(57.4% 0.162 301.8);
Tailwind
colors: {
custom: {
50: '#b08cd8',
500: '#8b5cc7',
950: '#000000',
},
}SCSS
$custom: #8b5cc7; $custom-light: #b08cd8; $custom-dark: #000000;
JSON
{
"hex": "#8b5cc7",
"rgb": {
"r": 139,
"g": 92,
"b": 199
},
"hsl": {
"h": 266.355,
"s": 48.858,
"l": 57.059
},
"oklch": {
"l": 0.57399,
"c": 0.16234,
"h": 301.8
},
"luminance": 0.17267
}Semantic roles & 50–950 ramp
primary
#8B5CC7
secondary
#C2D5AA
accent
#D84F9C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83