#B879F8#B879F8
#B879F8 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.4% C 0.187 H 304.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B879F8 |
|---|---|
| RGB | rgb(184, 121, 248) |
| HSL | hsl(270, 90%, 72%) |
| HSV | hsv(270, 51%, 97%) |
| CMYK | cmyk(25.8%, 51.2%, 0%, 2.7%) |
| CIE-LAB | lab(62.20, 48.36, -54.52) |
| CIE-LCH | lch(62.20, 72.88, 311.57°) |
| OKLab | oklab(69.43% 0.107 -0.1532) |
| OKLCH | oklch(69.43% 0.187 304.9) |
| XYZ | xyz(43.5442, 30.6426, 92.4094) |
| Luminance | 0.3064 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.52
Easter Purple
#C071FE
ΔE00 2.24
Light Urple
#B36FF6
ΔE00 2.57
Liliac
#C48EFD
ΔE00 5.42
Bright Lavender
#C760FF
ΔE00 5.44
Bright Lilac
#C95EFB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B879F8 #B9F879
analogous
#7979F8 #B879F8 #F879F8
triadic
#B879F8 #F8B879 #79F8B8
tetradic
#B879F8 #F87979 #B9F879 #79F8F8
square
#B879F8 #F87979 #B9F879 #79F8F8
split-complementary
#B879F8 #F8F879 #79F879
monochromatic
#7A0CEA #993FF5 #B879F8 #D7B3FB #F0E2FD
Accessibility & contrast
On white
2.95
#B879F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B879F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B879F8
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B879F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B879F8 | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5195FC
Deuteranopia (green-blind)
#6497F5
Tritanopia (blue-blind)
#AD90AD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b879f8; /* rgb */ color: rgb(184, 121, 248); /* oklch */ color: oklch(69.4% 0.187 304.9);
Tailwind
colors: {
custom: {
50: '#d0a1fb',
500: '#b879f8',
950: '#000000',
},
}SCSS
$custom: #b879f8; $custom-light: #d0a1fb; $custom-dark: #000000;
JSON
{
"hex": "#b879f8",
"rgb": {
"r": 184,
"g": 121,
"b": 248
},
"hsl": {
"h": 269.764,
"s": 90.071,
"l": 72.353
},
"oklch": {
"l": 0.69432,
"c": 0.18688,
"h": 304.9
},
"luminance": 0.30642
}Semantic roles & 50–950 ramp
primary
#B879F8
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85