#8873CB#8873CB
#8873CB is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.3% C 0.131 H 293.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8873CB |
|---|---|
| RGB | rgb(136, 115, 203) |
| HSL | hsl(254, 46%, 62%) |
| HSV | hsv(254, 43%, 80%) |
| CMYK | cmyk(33%, 43.3%, 0%, 20.4%) |
| CIE-LAB | lab(53.82, 27.98, -42.92) |
| CIE-LCH | lch(53.82, 51.23, 303.10°) |
| OKLab | oklab(61.31% 0.0515 -0.1206) |
| OKLCH | oklch(61.31% 0.131 293.1) |
| XYZ | xyz(27.0608, 21.8070, 59.2718) |
| Luminance | 0.2181 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.46
Deep Lilac
#966EBD
ΔE00 5.25
Mediumslateblue
#7B68EE
ΔE00 7.12
Deep Lavender
#8D5EB7
ΔE00 7.80
Amethyst
#9B5FC0
ΔE00 8.12
Perrywinkle
#8F8CE7
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8873CB #B6CB73
analogous
#738ACB #8873CB #B473CB
triadic
#8873CB #CB8873 #73CB88
tetradic
#8873CB #CB738A #B6CB73 #73CBB4
square
#8873CB #CB738A #B6CB73 #73CBB4
split-complementary
#8873CB #CBB473 #8ACB73
monochromatic
#4A358F #6246BA #8873CB #AEA0DC #D4CCEC
Accessibility & contrast
On white
3.92
#8873CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#8873CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8873CB
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8873CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8873CB | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#788395
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8873cb; /* rgb */ color: rgb(136, 115, 203); /* oklch */ color: oklch(61.3% 0.131 293.1);
Tailwind
colors: {
custom: {
50: '#ad9bdb',
500: '#8873cb',
950: '#000000',
},
}SCSS
$custom: #8873cb; $custom-light: #ad9bdb; $custom-dark: #000000;
JSON
{
"hex": "#8873cb",
"rgb": {
"r": 136,
"g": 115,
"b": 203
},
"hsl": {
"h": 254.318,
"s": 45.833,
"l": 62.353
},
"oklch": {
"l": 0.61309,
"c": 0.13108,
"h": 293.1
},
"luminance": 0.21808
}Semantic roles & 50–950 ramp
primary
#8873CB
secondary
#D5DDBD
accent
#B92C97
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83