#B877EF#B877EF
#B877EF is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.180 H 307.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B877EF |
|---|---|
| RGB | rgb(184, 119, 239) |
| HSL | hsl(273, 79%, 70%) |
| HSV | hsv(273, 50%, 94%) |
| CMYK | cmyk(23%, 50.2%, 0%, 6.3%) |
| CIE-LAB | lab(61.32, 47.38, -50.95) |
| CIE-LCH | lch(61.32, 69.57, 312.92°) |
| OKLab | oklab(68.63% 0.1089 -0.1428) |
| OKLCH | oklch(68.63% 0.18 307.3) |
| XYZ | xyz(41.9408, 29.6164, 85.1517) |
| Luminance | 0.2962 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.40
Light Urple
#B36FF6
ΔE00 2.58
Easter Purple
#C071FE
ΔE00 2.60
Bright Lavender
#C760FF
ΔE00 5.26
Bright Lilac
#C95EFB
ΔE00 5.55
Liliac
#C48EFD
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B877EF #AEEF77
analogous
#7C77EF #B877EF #EF77EA
triadic
#B877EF #EFB877 #77EFB8
tetradic
#B877EF #EF7C77 #AEEF77 #77EAEF
square
#B877EF #EF7C77 #AEEF77 #77EAEF
split-complementary
#B877EF #EAEF77 #77EF7C
monochromatic
#7E19D3 #9B40E9 #B877EF #D5AEF5 #F1E4FC
Accessibility & contrast
On white
3.03
#B877EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#B877EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B877EF
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B877EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B877EF | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#6895EC
Tritanopia (blue-blind)
#B08CA8
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b877ef; /* rgb */ color: rgb(184, 119, 239); /* oklch */ color: oklch(68.6% 0.180 307.3);
Tailwind
colors: {
custom: {
50: '#d0a0f5',
500: '#b877ef',
950: '#000000',
},
}SCSS
$custom: #b877ef; $custom-light: #d0a0f5; $custom-dark: #000000;
JSON
{
"hex": "#b877ef",
"rgb": {
"r": 184,
"g": 119,
"b": 239
},
"hsl": {
"h": 272.5,
"s": 78.947,
"l": 70.196
},
"oklch": {
"l": 0.68625,
"c": 0.17955,
"h": 307.3
},
"luminance": 0.29616
}Semantic roles & 50–950 ramp
primary
#B877EF
secondary
#E0F2D0
accent
#DB0A6A
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#140F17
muted
#837F85