#884EBA#884EBA
#884EBA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.168 H 306.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #884EBA |
|---|---|
| RGB | rgb(136, 78, 186) |
| HSL | hsl(272, 44%, 52%) |
| HSV | hsv(272, 58%, 73%) |
| CMYK | cmyk(26.9%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(44.56, 44.75, -47.85) |
| CIE-LCH | lch(44.56, 65.51, 313.08°) |
| OKLab | oklab(54.11% 0.0994 -0.1349) |
| OKLCH | oklch(54.11% 0.168 306.4) |
| XYZ | xyz(21.7388, 14.2284, 48.0460) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.01
Purply
#983FB2
ΔE00 4.77
Deep Lavender
#8D5EB7
ΔE00 4.79
Darkorchid
#9932CC
ΔE00 5.81
Amethyst
#9B5FC0
ΔE00 6.40
Purpley
#8756E4
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#884EBA #80BA4E
analogous
#524EBA #884EBA #BA4EB6
triadic
#884EBA #BA884E #4EBA88
tetradic
#884EBA #BA524E #80BA4E #4EB6BA
square
#884EBA #BA524E #80BA4E #4EB6BA
split-complementary
#884EBA #B6BA4E #4EBA52
monochromatic
#492866 #693992 #884EBA #A67ACB #C3A6DC
Accessibility & contrast
On white
5.46
#884EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#884EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #884EBA
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##884EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##884EBA | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2367BE
Deuteranopia (green-blind)
#3B6AB7
Tritanopia (blue-blind)
#80637C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #884eba; /* rgb */ color: rgb(136, 78, 186); /* oklch */ color: oklch(54.1% 0.168 306.4);
Tailwind
colors: {
custom: {
50: '#ae82cf',
500: '#884eba',
950: '#000000',
},
}SCSS
$custom: #884eba; $custom-light: #ae82cf; $custom-dark: #000000;
JSON
{
"hex": "#884eba",
"rgb": {
"r": 136,
"g": 78,
"b": 186
},
"hsl": {
"h": 272.222,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.54108,
"c": 0.16758,
"h": 306.4
},
"luminance": 0.14228
}Semantic roles & 50–950 ramp
primary
#884EBA
secondary
#B0CA9A
accent
#D4548F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82