#8A56D9#8A56D9
#8A56D9 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.193 H 298.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8A56D9 |
|---|---|
| RGB | rgb(138, 86, 217) |
| HSL | hsl(264, 63%, 59%) |
| HSV | hsv(264, 60%, 85%) |
| CMYK | cmyk(36.4%, 60.4%, 0%, 14.9%) |
| CIE-LAB | lab(48.35, 48.59, -59.63) |
| CIE-LCH | lch(48.35, 76.92, 309.18°) |
| OKLab | oklab(57.55% 0.0917 -0.1694) |
| OKLCH | oklch(57.55% 0.193 298.4) |
| XYZ | xyz(26.3303, 17.0683, 67.5395) |
| Luminance | 0.1707 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.77
Lightish Purple
#A552E6
ΔE00 5.02
Light Indigo
#6D5ACF
ΔE00 5.64
Lighter Purple
#A55AF4
ΔE00 6.24
Slate Blue
#6A5ACD
ΔE00 6.24
Deep Lavender
#8D5EB7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A56D9 #A5D956
analogous
#5664D9 #8A56D9 #CC56D9
triadic
#8A56D9 #D98A56 #56D98A
tetradic
#8A56D9 #D95664 #A5D956 #56D9CC
square
#8A56D9 #D95664 #A5D956 #56D9CC
split-complementary
#8A56D9 #D9CC56 #64D956
monochromatic
#4F2193 #692CC5 #8A56D9 #AD88E4 #CFBAEF
Accessibility & contrast
On white
4.76
#8A56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#8A56D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A56D9
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A56D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A56D9 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#2171D6
Tritanopia (blue-blind)
#78728F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8a56d9; /* rgb */ color: rgb(138, 86, 217); /* oklch */ color: oklch(57.5% 0.193 298.4);
Tailwind
colors: {
custom: {
50: '#b188e5',
500: '#8a56d9',
950: '#000000',
},
}SCSS
$custom: #8a56d9; $custom-light: #b188e5; $custom-dark: #000000;
JSON
{
"hex": "#8a56d9",
"rgb": {
"r": 138,
"g": 86,
"b": 217
},
"hsl": {
"h": 263.817,
"s": 63.285,
"l": 59.412
},
"oklch": {
"l": 0.57548,
"c": 0.19267,
"h": 298.4
},
"luminance": 0.17069
}Semantic roles & 50–950 ramp
primary
#8A56D9
secondary
#CBDFAC
accent
#E641A5
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84