#882BCC#882BCC
#882BCC is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.3% C 0.230 H 305.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #882BCC |
|---|---|
| RGB | rgb(136, 43, 204) |
| HSL | hsl(275, 65%, 48%) |
| HSV | hsv(275, 79%, 80%) |
| CMYK | cmyk(33.3%, 78.9%, 0%, 20%) |
| CIE-LAB | lab(40.12, 64.71, -65.51) |
| CIE-LCH | lch(40.12, 92.08, 314.65°) |
| OKLab | oklab(51.32% 0.1337 -0.1866) |
| OKLCH | oklch(51.32% 0.23 305.6) |
| XYZ | xyz(21.9139, 11.3218, 58.1459) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 2.88
Blueviolet
#8A2BE2
ΔE00 3.01
Darkorchid
#9932CC
ΔE00 3.60
Violet (survey)
#9A0EEA
ΔE00 4.36
Vivid Purple
#9900FA
ΔE00 5.88
Burple
#6832E3
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#882BCC #6FCC2B
analogous
#372BCC #882BCC #CC2BBF
triadic
#882BCC #CC882B #2BCC88
tetradic
#882BCC #CC372B #6FCC2B #2BBFCC
square
#882BCC #CC372B #6FCC2B #2BBFCC
split-complementary
#882BCC #BFCC2B #2BCC37
monochromatic
#451667 #662099 #882BCC #A458DC #C08BE7
Accessibility & contrast
On white
6.43
#882BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#882BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #882BCC
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##882BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##882BCC | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#7B567C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #882bcc; /* rgb */ color: rgb(136, 43, 204); /* oklch */ color: oklch(51.3% 0.230 305.6);
Tailwind
colors: {
custom: {
50: '#b170dd',
500: '#882bcc',
950: '#000000',
},
}SCSS
$custom: #882bcc; $custom-light: #b170dd; $custom-dark: #000000;
JSON
{
"hex": "#882bcc",
"rgb": {
"r": 136,
"g": 43,
"b": 204
},
"hsl": {
"h": 274.658,
"s": 65.182,
"l": 48.431
},
"oklch": {
"l": 0.51324,
"c": 0.22956,
"h": 305.6
},
"luminance": 0.11322
}Semantic roles & 50–950 ramp
primary
#882BCC
secondary
#A3D082
accent
#E84087
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83