#8847CB#8847CB
#8847CB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.197 H 303.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8847CB |
|---|---|
| RGB | rgb(136, 71, 203) |
| HSL | hsl(270, 56%, 54%) |
| HSV | hsv(270, 65%, 80%) |
| CMYK | cmyk(33%, 65%, 0%, 20.4%) |
| CIE-LAB | lab(44.31, 52.46, -58.13) |
| CIE-LCH | lch(44.31, 78.30, 312.06°) |
| OKLab | oklab(54.28% 0.1072 -0.1651) |
| OKLCH | oklch(54.28% 0.197 303) |
| XYZ | xyz(23.1836, 14.0525, 57.9794) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.24
Blueviolet
#8A2BE2
ΔE00 5.11
Purpley
#8756E4
ΔE00 5.52
Purply
#983FB2
ΔE00 5.94
Bluish Purple
#703BE7
ΔE00 6.20
Royal Purple
#7851A9
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8847CB #8ACB47
analogous
#4748CB #8847CB #CA47CB
triadic
#8847CB #CB8847 #47CB88
tetradic
#8847CB #CB4748 #8ACB47 #47CBCA
square
#8847CB #CB4748 #8ACB47 #47CBCA
split-complementary
#8847CB #CBCA47 #48CB47
monochromatic
#4B2176 #692FA6 #8847CB #A777D8 #C6A6E6
Accessibility & contrast
On white
5.51
#8847CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#8847CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8847CB
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8847CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8847CB | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#1768C8
Tritanopia (blue-blind)
#7B6483
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8847cb; /* rgb */ color: rgb(136, 71, 203); /* oklch */ color: oklch(54.3% 0.197 303.0);
Tailwind
colors: {
custom: {
50: '#af7edc',
500: '#8847cb',
950: '#000000',
},
}SCSS
$custom: #8847cb; $custom-light: #af7edc; $custom-dark: #000000;
JSON
{
"hex": "#8847cb",
"rgb": {
"r": 136,
"g": 71,
"b": 203
},
"hsl": {
"h": 269.545,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.54275,
"c": 0.19679,
"h": 303
},
"luminance": 0.14053
}Semantic roles & 50–950 ramp
primary
#8847CB
secondary
#B7D39B
accent
#DF4995
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83