#882FAE#882FAE
#882FAE is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.197 H 313.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #882FAE |
|---|---|
| RGB | rgb(136, 47, 174) |
| HSL | hsl(282, 57%, 43%) |
| HSV | hsv(282, 73%, 68%) |
| CMYK | cmyk(21.8%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(38.42, 56.81, -50.64) |
| CIE-LCH | lch(38.42, 76.11, 318.28°) |
| OKLab | oklab(49.43% 0.1361 -0.1429) |
| OKLCH | oklch(49.43% 0.197 313.6) |
| XYZ | xyz(18.8085, 10.3239, 41.0381) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.28
Purply
#983FB2
ΔE00 4.86
Darkorchid
#9932CC
ΔE00 5.22
Darkviolet
#9400D3
ΔE00 5.65
Barney
#AC1DB8
ΔE00 6.29
Rebeccapurple
#663399
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882FAE #55AE2F
analogous
#482FAE #882FAE #AE2F94
triadic
#882FAE #AE882F #2FAE88
tetradic
#882FAE #AE482F #55AE2F #2F94AE
square
#882FAE #AE482F #55AE2F #2F94AE
split-complementary
#882FAE #94AE2F #2FAE48
monochromatic
#3D154E #62227E #882FAE #A74CCF #BF7CDC
Accessibility & contrast
On white
6.85
#882FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#882FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #882FAE
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882FAE | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#255CAB
Tritanopia (blue-blind)
#844B6C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #882fae; /* rgb */ color: rgb(136, 47, 174); /* oklch */ color: oklch(49.4% 0.197 313.6);
Tailwind
colors: {
custom: {
50: '#af70c7',
500: '#882fae',
950: '#000000',
},
}SCSS
$custom: #882fae; $custom-light: #af70c7; $custom-dark: #000000;
JSON
{
"hex": "#882fae",
"rgb": {
"r": 136,
"g": 47,
"b": 174
},
"hsl": {
"h": 282.047,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.49431,
"c": 0.19738,
"h": 313.6
},
"luminance": 0.10323
}Semantic roles & 50–950 ramp
primary
#882FAE
secondary
#8CC475
accent
#E14775
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82