#B877F7#B877F7
#B877F7 is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.189 H 305.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B877F7 |
|---|---|
| RGB | rgb(184, 119, 247) |
| HSL | hsl(270, 89%, 72%) |
| HSV | hsv(270, 52%, 97%) |
| CMYK | cmyk(25.5%, 51.8%, 0%, 3.1%) |
| CIE-LAB | lab(61.74, 49.19, -54.71) |
| CIE-LCH | lch(61.74, 73.57, 311.96°) |
| OKLab | oklab(69.07% 0.1095 -0.1537) |
| OKLCH | oklch(69.07% 0.189 305.5) |
| XYZ | xyz(43.1489, 30.0997, 91.5143) |
| Luminance | 0.3010 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.39
Easter Purple
#C071FE
ΔE00 1.94
Light Urple
#B36FF6
ΔE00 2.13
Bright Lavender
#C760FF
ΔE00 5.02
Bright Lilac
#C95EFB
ΔE00 5.47
Liliac
#C48EFD
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B877F7 #B6F777
analogous
#7877F7 #B877F7 #F777F6
triadic
#B877F7 #F7B877 #77F7B8
tetradic
#B877F7 #F77877 #B6F777 #77F6F7
square
#B877F7 #F77877 #B6F777 #77F6F7
split-complementary
#B877F7 #F6F777 #77F778
monochromatic
#7B0EE6 #9A3DF4 #B877F7 #D6B1FA #F0E2FD
Accessibility & contrast
On white
2.99
#B877F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#B877F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B877F7
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B877F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B877F7 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#6295F4
Tritanopia (blue-blind)
#AE8EAC
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b877f7; /* rgb */ color: rgb(184, 119, 247); /* oklch */ color: oklch(69.1% 0.189 305.5);
Tailwind
colors: {
custom: {
50: '#d0a0fa',
500: '#b877f7',
950: '#000000',
},
}SCSS
$custom: #b877f7; $custom-light: #d0a0fa; $custom-dark: #000000;
JSON
{
"hex": "#b877f7",
"rgb": {
"r": 184,
"g": 119,
"b": 247
},
"hsl": {
"h": 270.469,
"s": 88.889,
"l": 71.765
},
"oklch": {
"l": 0.69071,
"c": 0.18877,
"h": 305.5
},
"luminance": 0.30099
}Semantic roles & 50–950 ramp
primary
#B877F7
secondary
#E5F5D5
accent
#E60071
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85