#8845CB#8845CB
#8845CB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.0% C 0.199 H 303.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8845CB |
|---|---|
| RGB | rgb(136, 69, 203) |
| HSL | hsl(270, 56%, 53%) |
| HSV | hsv(270, 66%, 80%) |
| CMYK | cmyk(33%, 66%, 0%, 20.4%) |
| CIE-LAB | lab(43.95, 53.44, -58.71) |
| CIE-LCH | lch(43.95, 79.39, 312.31°) |
| OKLab | oklab(54.02% 0.1094 -0.1668) |
| OKLCH | oklch(54.02% 0.199 303.3) |
| XYZ | xyz(23.0585, 13.8023, 57.9377) |
| Luminance | 0.1380 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.94
Blueviolet
#8A2BE2
ΔE00 4.76
Purpley
#8756E4
ΔE00 5.85
Purply
#983FB2
ΔE00 5.85
Bluish Purple
#703BE7
ΔE00 6.03
Violet (survey)
#9A0EEA
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8845CB #88CB45
analogous
#4545CB #8845CB #CB45CB
triadic
#8845CB #CB8845 #45CB88
tetradic
#8845CB #CB4545 #88CB45 #45CBCB
square
#8845CB #CB4545 #88CB45 #45CBCB
split-complementary
#8845CB #CBCB45 #45CB45
monochromatic
#4B2175 #692EA5 #8845CB #A775D8 #C5A5E6
Accessibility & contrast
On white
5.58
#8845CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#8845CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8845CB
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8845CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8845CB | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#7B6382
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8845cb; /* rgb */ color: rgb(136, 69, 203); /* oklch */ color: oklch(54.0% 0.199 303.3);
Tailwind
colors: {
custom: {
50: '#af7ddc',
500: '#8845cb',
950: '#000000',
},
}SCSS
$custom: #8845cb; $custom-light: #af7ddc; $custom-dark: #000000;
JSON
{
"hex": "#8845cb",
"rgb": {
"r": 136,
"g": 69,
"b": 203
},
"hsl": {
"h": 270,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.54016,
"c": 0.19943,
"h": 303.3
},
"luminance": 0.13802
}Semantic roles & 50–950 ramp
primary
#8845CB
secondary
#B6D399
accent
#E04894
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83