#8A56D1#8A56D1
#8A56D1 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.183 H 300.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A56D1 |
|---|---|
| RGB | rgb(138, 86, 209) |
| HSL | hsl(265, 57%, 58%) |
| HSV | hsv(265, 59%, 82%) |
| CMYK | cmyk(34%, 58.9%, 0%, 18%) |
| CIE-LAB | lab(47.83, 46.56, -55.89) |
| CIE-LCH | lch(47.83, 72.74, 309.80°) |
| OKLab | oklab(57.01% 0.092 -0.1584) |
| OKLCH | oklch(57.01% 0.183 300.1) |
| XYZ | xyz(25.3149, 16.6621, 62.1917) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.97
Deep Lavender
#8D5EB7
ΔE00 5.33
Lightish Purple
#A552E6
ΔE00 5.42
Light Indigo
#6D5ACF
ΔE00 5.73
Amethyst
#9B5FC0
ΔE00 5.93
Slate Blue
#6A5ACD
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A56D1 #9DD156
analogous
#565FD1 #8A56D1 #C756D1
triadic
#8A56D1 #D18A56 #56D18A
tetradic
#8A56D1 #D1565F #9DD156 #56D1C7
square
#8A56D1 #D1565F #9DD156 #56D1C7
split-complementary
#8A56D1 #D1C756 #5FD156
monochromatic
#4F2588 #6B32B8 #8A56D1 #AB86DE #CDB6EB
Accessibility & contrast
On white
4.85
#8A56D1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#8A56D1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A56D1
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A56D1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A56D1 | 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)
#1271D5
Deuteranopia (green-blind)
#2F71CE
Tritanopia (blue-blind)
#7B708B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8a56d1; /* rgb */ color: rgb(138, 86, 209); /* oklch */ color: oklch(57.0% 0.183 300.1);
Tailwind
colors: {
custom: {
50: '#b088e0',
500: '#8a56d1',
950: '#000000',
},
}SCSS
$custom: #8a56d1; $custom-light: #b088e0; $custom-dark: #000000;
JSON
{
"hex": "#8a56d1",
"rgb": {
"r": 138,
"g": 86,
"b": 209
},
"hsl": {
"h": 265.366,
"s": 57.209,
"l": 57.843
},
"oklch": {
"l": 0.57009,
"c": 0.1832,
"h": 300.1
},
"luminance": 0.16662
}Semantic roles & 50–950 ramp
primary
#8A56D1
secondary
#C5DAA9
accent
#E047A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83