#882CBD#882CBD
#882CBD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.215 H 309.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #882CBD |
|---|---|
| RGB | rgb(136, 44, 189) |
| HSL | hsl(278, 62%, 46%) |
| HSV | hsv(278, 77%, 74%) |
| CMYK | cmyk(28%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(39.09, 61.12, -58.43) |
| CIE-LCH | lch(39.09, 84.55, 316.29°) |
| OKLab | oklab(50.24% 0.1364 -0.1658) |
| OKLCH | oklch(50.24% 0.215 309.4) |
| XYZ | xyz(20.2375, 10.7101, 49.1354) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.73
Darkorchid
#9932CC
ΔE00 3.99
Blueviolet
#8A2BE2
ΔE00 5.15
Purply
#983FB2
ΔE00 5.74
Purple (survey)
#7E1E9C
ΔE00 5.78
Violet (survey)
#9A0EEA
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882CBD #61BD2C
analogous
#3F2CBD #882CBD #BD2CA9
triadic
#882CBD #BD882C #2CBD88
tetradic
#882CBD #BD3F2C #61BD2C #2CA9BD
square
#882CBD #BD3F2C #61BD2C #2CA9BD
split-complementary
#882CBD #A9BD2C #2CBD3F
monochromatic
#41155A #64208B #882CBD #A550D6 #BF82E2
Accessibility & contrast
On white
6.68
#882CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#882CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #882CBD
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882CBD | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#805074
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #882cbd; /* rgb */ color: rgb(136, 44, 189); /* oklch */ color: oklch(50.2% 0.215 309.4);
Tailwind
colors: {
custom: {
50: '#b06fd2',
500: '#882cbd',
950: '#000000',
},
}SCSS
$custom: #882cbd; $custom-light: #b06fd2; $custom-dark: #000000;
JSON
{
"hex": "#882cbd",
"rgb": {
"r": 136,
"g": 44,
"b": 189
},
"hsl": {
"h": 278.069,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.50243,
"c": 0.21467,
"h": 309.4
},
"luminance": 0.1071
}Semantic roles & 50–950 ramp
primary
#882CBD
secondary
#98CB7A
accent
#E5427E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83