#8B56CE#8B56CE
#8B56CE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.180 H 301.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8B56CE |
|---|---|
| RGB | rgb(139, 86, 206) |
| HSL | hsl(267, 55%, 57%) |
| HSV | hsv(267, 58%, 81%) |
| CMYK | cmyk(32.5%, 58.3%, 0%, 19.2%) |
| CIE-LAB | lab(47.75, 46.04, -54.29) |
| CIE-LCH | lch(47.75, 71.18, 310.30°) |
| OKLab | oklab(56.92% 0.0933 -0.1537) |
| OKLCH | oklch(56.92% 0.18 301.3) |
| XYZ | xyz(25.1132, 16.6007, 60.2617) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.51
Deep Lavender
#8D5EB7
ΔE00 4.85
Lightish Purple
#A552E6
ΔE00 5.47
Amethyst
#9B5FC0
ΔE00 5.50
Light Indigo
#6D5ACF
ΔE00 6.04
Slate Blue
#6A5ACD
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B56CE #99CE56
analogous
#565DCE #8B56CE #C756CE
triadic
#8B56CE #CE8B56 #56CE8B
tetradic
#8B56CE #CE565D #99CE56 #56CEC7
square
#8B56CE #CE565D #99CE56 #56CEC7
split-complementary
#8B56CE #CEC756 #5DCE56
monochromatic
#4F2683 #6C34B3 #8B56CE #AC85DC #CCB5EA
Accessibility & contrast
On white
4.86
#8B56CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#8B56CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B56CE
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B56CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B56CE | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B71D2
Deuteranopia (green-blind)
#3471CB
Tritanopia (blue-blind)
#7D6F8A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8b56ce; /* rgb */ color: rgb(139, 86, 206); /* oklch */ color: oklch(56.9% 0.180 301.3);
Tailwind
colors: {
custom: {
50: '#b188de',
500: '#8b56ce',
950: '#000000',
},
}SCSS
$custom: #8b56ce; $custom-light: #b188de; $custom-dark: #000000;
JSON
{
"hex": "#8b56ce",
"rgb": {
"r": 139,
"g": 86,
"b": 206
},
"hsl": {
"h": 266.5,
"s": 55.046,
"l": 57.255
},
"oklch": {
"l": 0.56916,
"c": 0.17983,
"h": 301.3
},
"luminance": 0.16601
}Semantic roles & 50–950 ramp
primary
#8B56CE
secondary
#C3D8A8
accent
#DE499D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83