#B877F8#B877F8
#B877F8 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.190 H 305.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B877F8 |
|---|---|
| RGB | rgb(184, 119, 248) |
| HSL | hsl(270, 90%, 72%) |
| HSV | hsv(270, 52%, 97%) |
| CMYK | cmyk(25.8%, 52%, 0%, 2.7%) |
| CIE-LAB | lab(61.79, 49.42, -55.18) |
| CIE-LCH | lch(61.79, 74.07, 311.85°) |
| OKLab | oklab(69.13% 0.1096 -0.1551) |
| OKLCH | oklch(69.13% 0.19 305.2) |
| XYZ | xyz(43.3037, 30.1616, 92.3292) |
| Luminance | 0.3016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.46
Easter Purple
#C071FE
ΔE00 1.90
Light Urple
#B36FF6
ΔE00 2.13
Bright Lavender
#C760FF
ΔE00 5.01
Bright Lilac
#C95EFB
ΔE00 5.48
Liliac
#C48EFD
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B877F8 #B7F877
analogous
#7877F8 #B877F8 #F877F7
triadic
#B877F8 #F8B877 #77F8B8
tetradic
#B877F8 #F87877 #B7F877 #77F7F8
square
#B877F8 #F87877 #B7F877 #77F7F8
split-complementary
#B877F8 #F7F877 #77F878
monochromatic
#7B0CE9 #9A3DF5 #B877F8 #D6B1FB #F0E2FE
Accessibility & contrast
On white
2.99
#B877F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#B877F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B877F8
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B877F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B877F8 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#AD8FAC
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b877f8; /* rgb */ color: rgb(184, 119, 248); /* oklch */ color: oklch(69.1% 0.190 305.2);
Tailwind
colors: {
custom: {
50: '#d0a0fb',
500: '#b877f8',
950: '#000000',
},
}SCSS
$custom: #b877f8; $custom-light: #d0a0fb; $custom-dark: #000000;
JSON
{
"hex": "#b877f8",
"rgb": {
"r": 184,
"g": 119,
"b": 248
},
"hsl": {
"h": 270.233,
"s": 90.21,
"l": 71.961
},
"oklch": {
"l": 0.69127,
"c": 0.18992,
"h": 305.2
},
"luminance": 0.30161
}Semantic roles & 50–950 ramp
primary
#B877F8
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85