#8A5BCC#8A5BCC
#8A5BCC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.170 H 300.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5BCC |
|---|---|
| RGB | rgb(138, 91, 204) |
| HSL | hsl(265, 53%, 58%) |
| HSV | hsv(265, 55%, 80%) |
| CMYK | cmyk(32.4%, 55.4%, 0%, 20%) |
| CIE-LAB | lab(48.57, 42.56, -51.84) |
| CIE-LCH | lch(48.57, 67.07, 309.38°) |
| OKLab | oklab(57.45% 0.0857 -0.1466) |
| OKLCH | oklch(57.45% 0.17 300.3) |
| XYZ | xyz(25.1188, 17.2449, 59.1203) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.91
Deep Lavender
#8D5EB7
ΔE00 4.17
Amethyst
#9B5FC0
ΔE00 4.96
Lightish Purple
#A552E6
ΔE00 5.85
Light Indigo
#6D5ACF
ΔE00 5.88
Slate Blue
#6A5ACD
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5BCC #9DCC5B
analogous
#5B64CC #8A5BCC #C35BCC
triadic
#8A5BCC #CC8A5B #5BCC8A
tetradic
#8A5BCC #CC5B64 #9DCC5B #5BCCC3
square
#8A5BCC #CC5B64 #9DCC5B #5BCCC3
split-complementary
#8A5BCC #CCC35B #64CC5B
monochromatic
#4F2984 #6B37B2 #8A5BCC #AB8ADB #CDB8E9
Accessibility & contrast
On white
4.72
#8A5BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#8A5BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5BCC
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5BCC | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C73D0
Deuteranopia (green-blind)
#3C73C9
Tritanopia (blue-blind)
#7C718B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8a5bcc; /* rgb */ color: rgb(138, 91, 204); /* oklch */ color: oklch(57.5% 0.170 300.3);
Tailwind
colors: {
custom: {
50: '#b08bdc',
500: '#8a5bcc',
950: '#000000',
},
}SCSS
$custom: #8a5bcc; $custom-light: #b08bdc; $custom-dark: #000000;
JSON
{
"hex": "#8a5bcc",
"rgb": {
"r": 138,
"g": 91,
"b": 204
},
"hsl": {
"h": 264.956,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.5745,
"c": 0.16981,
"h": 300.3
},
"luminance": 0.17245
}Semantic roles & 50–950 ramp
primary
#8A5BCC
secondary
#C5D8AB
accent
#DC4CA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83