#8A5BCE#8A5BCE
#8A5BCE is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.172 H 299.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5BCE |
|---|---|
| RGB | rgb(138, 91, 206) |
| HSL | hsl(265, 54%, 58%) |
| HSV | hsv(265, 56%, 81%) |
| CMYK | cmyk(33%, 55.8%, 0%, 19.2%) |
| CIE-LAB | lab(48.69, 43.07, -52.79) |
| CIE-LCH | lch(48.69, 68.13, 309.20°) |
| OKLab | oklab(57.58% 0.0858 -0.1494) |
| OKLCH | oklch(57.58% 0.172 299.9) |
| XYZ | xyz(25.3602, 17.3415, 60.3917) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.60
Deep Lavender
#8D5EB7
ΔE00 4.49
Amethyst
#9B5FC0
ΔE00 5.16
Lightish Purple
#A552E6
ΔE00 5.70
Light Indigo
#6D5ACF
ΔE00 5.79
Slate Blue
#6A5ACD
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5BCE #9FCE5B
analogous
#5B65CE #8A5BCE #C45BCE
triadic
#8A5BCE #CE8A5B #5BCE8A
tetradic
#8A5BCE #CE5B65 #9FCE5B #5BCEC4
square
#8A5BCE #CE5B65 #9FCE5B #5BCEC4
split-complementary
#8A5BCE #CEC45B #65CE5B
monochromatic
#4F2886 #6A36B6 #8A5BCE #AC8ADC #CDB9EA
Accessibility & contrast
On white
4.70
#8A5BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#8A5BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5BCE
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5BCE | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2973D2
Deuteranopia (green-blind)
#3A73CB
Tritanopia (blue-blind)
#7C728C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a5bce; /* rgb */ color: rgb(138, 91, 206); /* oklch */ color: oklch(57.6% 0.172 299.9);
Tailwind
colors: {
custom: {
50: '#b08bde',
500: '#8a5bce',
950: '#000000',
},
}SCSS
$custom: #8a5bce; $custom-light: #b08bde; $custom-dark: #000000;
JSON
{
"hex": "#8a5bce",
"rgb": {
"r": 138,
"g": 91,
"b": 206
},
"hsl": {
"h": 264.522,
"s": 53.991,
"l": 58.235
},
"oklch": {
"l": 0.57577,
"c": 0.17226,
"h": 299.9
},
"luminance": 0.17342
}Semantic roles & 50–950 ramp
primary
#8A5BCE
secondary
#C7D9AB
accent
#DD4AA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83