#882FB5#882FB5
#882FB5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.204 H 311.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #882FB5 |
|---|---|
| RGB | rgb(136, 47, 181) |
| HSL | hsl(280, 59%, 45%) |
| HSV | hsv(280, 74%, 71%) |
| CMYK | cmyk(24.9%, 74%, 0%, 29%) |
| CIE-LAB | lab(38.91, 58.28, -54.01) |
| CIE-LCH | lch(38.91, 79.46, 317.18°) |
| OKLab | oklab(49.93% 0.1351 -0.1528) |
| OKLCH | oklch(49.93% 0.204 311.5) |
| XYZ | xyz(19.5088, 10.6040, 44.7262) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.44
Darkviolet
#9400D3
ΔE00 4.78
Purply
#983FB2
ΔE00 5.02
Purple (survey)
#7E1E9C
ΔE00 5.04
Blueviolet
#8A2BE2
ΔE00 6.31
Barney
#AC1DB8
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882FB5 #5CB52F
analogous
#452FB5 #882FB5 #B52F9F
triadic
#882FB5 #B5882F #2FB588
tetradic
#882FB5 #B5452F #5CB52F #2F9FB5
square
#882FB5 #B5452F #5CB52F #2F9FB5
split-complementary
#882FB5 #9FB52F #2FB545
monochromatic
#3F1654 #632284 #882FB5 #A650D1 #BF80DE
Accessibility & contrast
On white
6.73
#882FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#882FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #882FB5
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882FB5 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#195DB2
Tritanopia (blue-blind)
#824E70
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #882fb5; /* rgb */ color: rgb(136, 47, 181); /* oklch */ color: oklch(49.9% 0.204 311.5);
Tailwind
colors: {
custom: {
50: '#af70cc',
500: '#882fb5',
950: '#000000',
},
}SCSS
$custom: #882fb5; $custom-light: #af70cc; $custom-dark: #000000;
JSON
{
"hex": "#882fb5",
"rgb": {
"r": 136,
"g": 47,
"b": 181
},
"hsl": {
"h": 279.851,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.49931,
"c": 0.20398,
"h": 311.5
},
"luminance": 0.10603
}Semantic roles & 50–950 ramp
primary
#882FB5
secondary
#93C779
accent
#E2467A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82