#8D56BF#8D56BF
#8D56BF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.163 H 306.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8D56BF |
|---|---|
| RGB | rgb(141, 86, 191) |
| HSL | hsl(271, 45%, 54%) |
| HSV | hsv(271, 55%, 75%) |
| CMYK | cmyk(26.2%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(47.08, 42.88, -46.70) |
| CIE-LCH | lch(47.08, 63.40, 312.56°) |
| OKLab | oklab(56.18% 0.0956 -0.1314) |
| OKLCH | oklch(56.18% 0.163 306) |
| XYZ | xyz(23.7143, 16.0801, 51.1346) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.83
Amethyst
#9B5FC0
ΔE00 4.13
Royal Purple
#7851A9
ΔE00 5.28
Purply
#983FB2
ΔE00 6.14
Purpley
#8756E4
ΔE00 6.18
Lightish Purple
#A552E6
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D56BF #88BF56
analogous
#5956BF #8D56BF #BF56BC
triadic
#8D56BF #BF8D56 #56BF8D
tetradic
#8D56BF #BF5956 #88BF56 #56BCBF
square
#8D56BF #BF5956 #88BF56 #56BCBF
split-complementary
#8D56BF #BCBF56 #56BF59
monochromatic
#4F2A70 #6E3B9D #8D56BF #AB82D0 #C9AFE1
Accessibility & contrast
On white
4.98
#8D56BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#8D56BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D56BF
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D56BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D56BF | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#856982
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8d56bf; /* rgb */ color: rgb(141, 86, 191); /* oklch */ color: oklch(56.2% 0.163 306.0);
Tailwind
colors: {
custom: {
50: '#b188d3',
500: '#8d56bf',
950: '#000000',
},
}SCSS
$custom: #8d56bf; $custom-light: #b188d3; $custom-dark: #000000;
JSON
{
"hex": "#8d56bf",
"rgb": {
"r": 141,
"g": 86,
"b": 191
},
"hsl": {
"h": 271.429,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.56183,
"c": 0.16251,
"h": 306
},
"luminance": 0.1608
}Semantic roles & 50–950 ramp
primary
#8D56BF
secondary
#B7CFA2
accent
#D55391
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83