#B877FE#B877FE
#B877FE is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.5% C 0.197 H 304.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B877FE |
|---|---|
| RGB | rgb(184, 119, 254) |
| HSL | hsl(269, 99%, 73%) |
| HSV | hsv(269, 53%, 100%) |
| CMYK | cmyk(27.6%, 53.1%, 0%, 0.4%) |
| CIE-LAB | lab(62.12, 50.81, -57.96) |
| CIE-LCH | lch(62.12, 77.08, 311.24°) |
| OKLab | oklab(69.47% 0.1099 -0.1633) |
| OKLCH | oklch(69.47% 0.197 304) |
| XYZ | xyz(44.2495, 30.5399, 97.3103) |
| Luminance | 0.3054 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 1.91
Light Purple
#BF77F6
ΔE00 2.07
Light Urple
#B36FF6
ΔE00 2.31
Bright Lavender
#C760FF
ΔE00 5.06
Bright Lilac
#C95EFB
ΔE00 5.63
Liliac
#C48EFD
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B877FE #BDFE77
analogous
#7779FE #B877FE #FC77FE
triadic
#B877FE #FEB877 #77FEB8
tetradic
#B877FE #FE7779 #BDFE77 #77FEFC
square
#B877FE #FE7779 #BDFE77 #77FEFC
split-complementary
#B877FE #FEFC77 #79FE77
monochromatic
#7902F9 #983AFE #B877FE #D8B4FE #EFE1FF
Accessibility & contrast
On white
2.95
#B877FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#B877FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B877FE
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B877FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B877FE | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#AC90AF
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b877fe; /* rgb */ color: rgb(184, 119, 254); /* oklch */ color: oklch(69.5% 0.197 304.0);
Tailwind
colors: {
custom: {
50: '#d1a0ff',
500: '#b877fe',
950: '#000000',
},
}SCSS
$custom: #b877fe; $custom-light: #d1a0ff; $custom-dark: #000000;
JSON
{
"hex": "#b877fe",
"rgb": {
"r": 184,
"g": 119,
"b": 254
},
"hsl": {
"h": 268.889,
"s": 98.54,
"l": 73.137
},
"oklch": {
"l": 0.69472,
"c": 0.19683,
"h": 304
},
"luminance": 0.3054
}Semantic roles & 50–950 ramp
primary
#B877FE
secondary
#E6F7D4
accent
#E60077
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86