#B882DC#B882DC
#B882DC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.4% C 0.139 H 310.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B882DC |
|---|---|
| RGB | rgb(184, 130, 220) |
| HSL | hsl(276, 56%, 69%) |
| HSV | hsv(276, 41%, 86%) |
| CMYK | cmyk(16.4%, 40.9%, 0%, 13.7%) |
| CIE-LAB | lab(62.78, 37.19, -38.09) |
| CIE-LCH | lch(62.78, 53.24, 314.32°) |
| OKLab | oklab(69.42% 0.091 -0.1055) |
| OKLCH | oklch(69.42% 0.139 310.8) |
| XYZ | xyz(40.6658, 31.3236, 71.6001) |
| Luminance | 0.3132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.82
Wisteria
#A87DC2
ΔE00 5.00
Light Purple
#BF77F6
ΔE00 5.28
Liliac
#C48EFD
ΔE00 5.69
Easter Purple
#C071FE
ΔE00 6.96
Light Urple
#B36FF6
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B882DC #A6DC82
analogous
#8B82DC #B882DC #DC82D3
triadic
#B882DC #DCB882 #82DCB8
tetradic
#B882DC #DC8B82 #A6DC82 #82D3DC
square
#B882DC #DC8B82 #A6DC82 #82D3DC
split-complementary
#B882DC #D3DC82 #82DC8B
monochromatic
#7F32B2 #9D52CF #B882DC #D3B2E9 #EEE2F7
Accessibility & contrast
On white
2.89
#B882DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#B882DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B882DC
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B882DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B882DC | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#7D99D9
Tritanopia (blue-blind)
#B48FA5
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b882dc; /* rgb */ color: rgb(184, 130, 220); /* oklch */ color: oklch(69.4% 0.139 310.8);
Tailwind
colors: {
custom: {
50: '#cfa7e7',
500: '#b882dc',
950: '#000000',
},
}SCSS
$custom: #b882dc; $custom-light: #cfa7e7; $custom-dark: #000000;
JSON
{
"hex": "#b882dc",
"rgb": {
"r": 184,
"g": 130,
"b": 220
},
"hsl": {
"h": 276,
"s": 56.25,
"l": 68.627
},
"oklch": {
"l": 0.69418,
"c": 0.13937,
"h": 310.8
},
"luminance": 0.31323
}Semantic roles & 50–950 ramp
primary
#B882DC
secondary
#DAEACF
accent
#C42263
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84