#8B56CF#8B56CF
#8B56CF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.181 H 301.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8B56CF |
|---|---|
| RGB | rgb(139, 86, 207) |
| HSL | hsl(266, 56%, 57%) |
| HSV | hsv(266, 58%, 81%) |
| CMYK | cmyk(32.9%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(47.82, 46.29, -54.76) |
| CIE-LCH | lch(47.82, 71.71, 310.21°) |
| OKLab | oklab(56.98% 0.0933 -0.1551) |
| OKLCH | oklch(56.98% 0.181 301) |
| XYZ | xyz(25.2351, 16.6494, 60.9036) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.36
Deep Lavender
#8D5EB7
ΔE00 4.98
Lightish Purple
#A552E6
ΔE00 5.40
Amethyst
#9B5FC0
ΔE00 5.59
Light Indigo
#6D5ACF
ΔE00 6.00
Slate Blue
#6A5ACD
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B56CF #9ACF56
analogous
#565ECF #8B56CF #C756CF
triadic
#8B56CF #CF8B56 #56CF8B
tetradic
#8B56CF #CF565E #9ACF56 #56CFC7
square
#8B56CF #CF565E #9ACF56 #56CFC7
split-complementary
#8B56CF #CFC756 #5ECF56
monochromatic
#4F2685 #6C33B5 #8B56CF #AC86DD #CCB5EA
Accessibility & contrast
On white
4.85
#8B56CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#8B56CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B56CF
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B56CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B56CF | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#7D6F8A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8b56cf; /* rgb */ color: rgb(139, 86, 207); /* oklch */ color: oklch(57.0% 0.181 301.0);
Tailwind
colors: {
custom: {
50: '#b188de',
500: '#8b56cf',
950: '#000000',
},
}SCSS
$custom: #8b56cf; $custom-light: #b188de; $custom-dark: #000000;
JSON
{
"hex": "#8b56cf",
"rgb": {
"r": 139,
"g": 86,
"b": 207
},
"hsl": {
"h": 266.281,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.56981,
"c": 0.18101,
"h": 301
},
"luminance": 0.1665
}Semantic roles & 50–950 ramp
primary
#8B56CF
secondary
#C3D9A8
accent
#DF499D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83