#8A5CCB#8A5CCB
#8A5CCB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.167 H 300.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5CCB |
|---|---|
| RGB | rgb(138, 92, 203) |
| HSL | hsl(265, 52%, 58%) |
| HSV | hsv(265, 55%, 80%) |
| CMYK | cmyk(32%, 54.7%, 0%, 20.4%) |
| CIE-LAB | lab(48.72, 41.75, -51.02) |
| CIE-LCH | lch(48.72, 65.92, 309.29°) |
| OKLab | oklab(57.54% 0.0844 -0.1442) |
| OKLCH | oklch(57.54% 0.167 300.3) |
| XYZ | xyz(25.0853, 17.3692, 58.5193) |
| Luminance | 0.1737 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.96
Purpley
#8756E4
ΔE00 4.15
Amethyst
#9B5FC0
ΔE00 4.79
Light Indigo
#6D5ACF
ΔE00 5.97
Lightish Purple
#A552E6
ΔE00 5.99
Slate Blue
#6A5ACD
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5CCB #9DCB5C
analogous
#5C65CB #8A5CCB #C25CCB
triadic
#8A5CCB #CB8A5C #5CCB8A
tetradic
#8A5CCB #CB5C65 #9DCB5C #5CCBC2
square
#8A5CCB #CB5C65 #9DCB5C #5CCBC2
split-complementary
#8A5CCB #CBC25C #65CB5C
monochromatic
#4F2A83 #6B39B1 #8A5CCB #AB8ADA #CDB9E9
Accessibility & contrast
On white
4.69
#8A5CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#8A5CCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5CCB
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5CCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5CCB | 1.00 | 4.69 | 4.47 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3073CF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#7D728B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a5ccb; /* rgb */ color: rgb(138, 92, 203); /* oklch */ color: oklch(57.5% 0.167 300.3);
Tailwind
colors: {
custom: {
50: '#b08cdb',
500: '#8a5ccb',
950: '#000000',
},
}SCSS
$custom: #8a5ccb; $custom-light: #b08cdb; $custom-dark: #000000;
JSON
{
"hex": "#8a5ccb",
"rgb": {
"r": 138,
"g": 92,
"b": 203
},
"hsl": {
"h": 264.865,
"s": 51.628,
"l": 57.843
},
"oklch": {
"l": 0.57544,
"c": 0.16708,
"h": 300.3
},
"luminance": 0.17369
}Semantic roles & 50–950 ramp
primary
#8A5CCB
secondary
#C5D8AB
accent
#DB4DA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83