#8A55B5#8A55B5
#8A55B5 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.1% C 0.151 H 307.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8A55B5 |
|---|---|
| RGB | rgb(138, 85, 181) |
| HSL | hsl(273, 39%, 52%) |
| HSV | hsv(273, 53%, 71%) |
| CMYK | cmyk(23.8%, 53%, 0%, 29%) |
| CIE-LAB | lab(45.96, 40.26, -42.69) |
| CIE-LCH | lch(45.96, 58.68, 313.32°) |
| OKLab | oklab(55.09% 0.0925 -0.1198) |
| OKLCH | oklch(55.09% 0.151 307.7) |
| XYZ | xyz(22.0686, 15.2367, 45.4855) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.71
Royal Purple
#7851A9
ΔE00 4.06
Amethyst
#9B5FC0
ΔE00 4.78
Purply
#983FB2
ΔE00 5.60
Medium Purple
#9E43A2
ΔE00 7.26
Darkorchid
#9932CC
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A55B5 #80B555
analogous
#5A55B5 #8A55B5 #B555B0
triadic
#8A55B5 #B58A55 #55B58A
tetradic
#8A55B5 #B55A55 #80B555 #55B0B5
square
#8A55B5 #B55A55 #80B555 #55B0B5
split-complementary
#8A55B5 #B0B555 #55B55A
monochromatic
#4B2C64 #6B3E8F #8A55B5 #A780C8 #C5AADA
Accessibility & contrast
On white
5.19
#8A55B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#8A55B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A55B5
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A55B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A55B5 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386BB8
Deuteranopia (green-blind)
#496DB3
Tritanopia (blue-blind)
#84667D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8a55b5; /* rgb */ color: rgb(138, 85, 181); /* oklch */ color: oklch(55.1% 0.151 307.7);
Tailwind
colors: {
custom: {
50: '#af87cc',
500: '#8a55b5',
950: '#000000',
},
}SCSS
$custom: #8a55b5; $custom-light: #af87cc; $custom-dark: #000000;
JSON
{
"hex": "#8a55b5",
"rgb": {
"r": 138,
"g": 85,
"b": 181
},
"hsl": {
"h": 273.125,
"s": 39.344,
"l": 52.157
},
"oklch": {
"l": 0.55094,
"c": 0.15131,
"h": 307.7
},
"luminance": 0.15236
}Semantic roles & 50–950 ramp
primary
#8A55B5
secondary
#B1C89E
accent
#CF598E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82