#B882FE#B882FE
#B882FE is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.2% C 0.180 H 302.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B882FE |
|---|---|
| RGB | rgb(184, 130, 254) |
| HSL | hsl(266, 98%, 75%) |
| HSV | hsv(266, 49%, 100%) |
| CMYK | cmyk(27.6%, 48.8%, 0%, 0.4%) |
| CIE-LAB | lab(64.41, 44.92, -54.31) |
| CIE-LCH | lch(64.41, 70.48, 309.59°) |
| OKLab | oklab(71.17% 0.0959 -0.1526) |
| OKLCH | oklch(71.17% 0.18 302.1) |
| XYZ | xyz(45.6352, 33.3113, 97.7723) |
| Luminance | 0.3331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.34
Liliac
#C48EFD
ΔE00 3.70
Easter Purple
#C071FE
ΔE00 4.17
Light Urple
#B36FF6
ΔE00 4.73
Baby Purple
#CA9BF7
ΔE00 7.47
Bright Lavender
#C760FF
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B882FE #C8FE82
analogous
#828AFE #B882FE #F682FE
triadic
#B882FE #FEB882 #82FEB8
tetradic
#B882FE #FE828A #C8FE82 #82FEF6
square
#B882FE #FE828A #C8FE82 #82FEF6
split-complementary
#B882FE #FEF682 #8AFE82
monochromatic
#7309FD #9645FE #B882FE #DABFFE #EEE1FF
Accessibility & contrast
On white
2.74
#B882FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#B882FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B882FE
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B882FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B882FE | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#699CFB
Tritanopia (blue-blind)
#AB99B4
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b882fe; /* rgb */ color: rgb(184, 130, 254); /* oklch */ color: oklch(71.2% 0.180 302.1);
Tailwind
colors: {
custom: {
50: '#d0a7ff',
500: '#b882fe',
950: '#000000',
},
}SCSS
$custom: #b882fe; $custom-light: #d0a7ff; $custom-dark: #000000;
JSON
{
"hex": "#b882fe",
"rgb": {
"r": 184,
"g": 130,
"b": 254
},
"hsl": {
"h": 266.129,
"s": 98.413,
"l": 75.294
},
"oklch": {
"l": 0.71173,
"c": 0.18024,
"h": 302.1
},
"luminance": 0.33311
}Semantic roles & 50–950 ramp
primary
#B882FE
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86