#B882EF#B882EF
#B882EF is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.4% C 0.162 H 305.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B882EF |
|---|---|
| RGB | rgb(184, 130, 239) |
| HSL | hsl(270, 77%, 72%) |
| HSV | hsv(270, 46%, 94%) |
| CMYK | cmyk(23%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(63.66, 41.43, -47.25) |
| CIE-LCH | lch(63.66, 62.84, 311.25°) |
| OKLab | oklab(70.37% 0.0941 -0.132) |
| OKLCH | oklch(70.37% 0.162 305.5) |
| XYZ | xyz(43.3266, 32.3879, 85.6136) |
| Luminance | 0.3239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.10
Liliac
#C48EFD
ΔE00 3.66
Easter Purple
#C071FE
ΔE00 4.67
Light Urple
#B36FF6
ΔE00 5.01
Baby Purple
#CA9BF7
ΔE00 6.78
Pale Purple
#B790D4
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B882EF #B9EF82
analogous
#8282EF #B882EF #EF82EF
triadic
#B882EF #EFB882 #82EFB8
tetradic
#B882EF #EF8282 #B9EF82 #82EFEF
square
#B882EF #EF8282 #B9EF82 #82EFEF
split-complementary
#B882EF #EFEF82 #82EF82
monochromatic
#7A1CDB #994CE8 #B882EF #D7B8F6 #F0E4FC
Accessibility & contrast
On white
2.81
#B882EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#B882EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B882EF
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B882EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B882EF | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#739AEC
Tritanopia (blue-blind)
#AF94AD
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b882ef; /* rgb */ color: rgb(184, 130, 239); /* oklch */ color: oklch(70.4% 0.162 305.5);
Tailwind
colors: {
custom: {
50: '#cfa7f5',
500: '#b882ef',
950: '#000000',
},
}SCSS
$custom: #b882ef; $custom-light: #cfa7f5; $custom-dark: #000000;
JSON
{
"hex": "#b882ef",
"rgb": {
"r": 184,
"g": 130,
"b": 239
},
"hsl": {
"h": 269.725,
"s": 77.305,
"l": 72.353
},
"oklch": {
"l": 0.70369,
"c": 0.16216,
"h": 305.5
},
"luminance": 0.32388
}Semantic roles & 50–950 ramp
primary
#B882EF
secondary
#E6F3D8
accent
#DA0C74
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85