#8B56CD#8B56CD
#8B56CD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.179 H 301.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8B56CD |
|---|---|
| RGB | rgb(139, 86, 205) |
| HSL | hsl(267, 54%, 57%) |
| HSV | hsv(267, 58%, 80%) |
| CMYK | cmyk(32.2%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(47.69, 45.80, -53.81) |
| CIE-LCH | lch(47.69, 70.66, 310.40°) |
| OKLab | oklab(56.85% 0.0933 -0.1523) |
| OKLCH | oklch(56.85% 0.179 301.5) |
| XYZ | xyz(24.9921, 16.5522, 59.6240) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.67
Deep Lavender
#8D5EB7
ΔE00 4.71
Amethyst
#9B5FC0
ΔE00 5.41
Lightish Purple
#A552E6
ΔE00 5.55
Light Indigo
#6D5ACF
ΔE00 6.09
Slate Blue
#6A5ACD
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B56CD #98CD56
analogous
#565CCD #8B56CD #C756CD
triadic
#8B56CD #CD8B56 #56CD8B
tetradic
#8B56CD #CD565C #98CD56 #56CDC7
square
#8B56CD #CD565C #98CD56 #56CDC7
split-complementary
#8B56CD #CDC756 #5CCD56
monochromatic
#4F2682 #6C34B1 #8B56CD #AB85DB #CCB4E9
Accessibility & contrast
On white
4.87
#8B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#8B56CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B56CD
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B56CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B56CD | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D70D1
Deuteranopia (green-blind)
#3571CA
Tritanopia (blue-blind)
#7E6E89
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8b56cd; /* rgb */ color: rgb(139, 86, 205); /* oklch */ color: oklch(56.9% 0.179 301.5);
Tailwind
colors: {
custom: {
50: '#b188dd',
500: '#8b56cd',
950: '#000000',
},
}SCSS
$custom: #8b56cd; $custom-light: #b188dd; $custom-dark: #000000;
JSON
{
"hex": "#8b56cd",
"rgb": {
"r": 139,
"g": 86,
"b": 205
},
"hsl": {
"h": 266.723,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.5685,
"c": 0.17863,
"h": 301.5
},
"luminance": 0.16552
}Semantic roles & 50–950 ramp
primary
#8B56CD
secondary
#C2D8A7
accent
#DE4A9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83