#B879FE#B879FE
#B879FE is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.8% C 0.194 H 303.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B879FE |
|---|---|
| RGB | rgb(184, 121, 254) |
| HSL | hsl(268, 99%, 74%) |
| HSV | hsv(268, 52%, 100%) |
| CMYK | cmyk(27.6%, 52.4%, 0%, 0.4%) |
| CIE-LAB | lab(62.53, 49.75, -57.31) |
| CIE-LCH | lch(62.53, 75.89, 310.96°) |
| OKLab | oklab(69.77% 0.1074 -0.1614) |
| OKLCH | oklch(69.77% 0.194 303.7) |
| XYZ | xyz(44.4900, 31.0210, 97.3905) |
| Luminance | 0.3102 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.11
Easter Purple
#C071FE
ΔE00 2.24
Light Urple
#B36FF6
ΔE00 2.72
Bright Lavender
#C760FF
ΔE00 5.48
Liliac
#C48EFD
ΔE00 5.53
Bright Lilac
#C95EFB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B879FE #BFFE79
analogous
#797CFE #B879FE #FB79FE
triadic
#B879FE #FEB879 #79FEB8
tetradic
#B879FE #FE797C #BFFE79 #79FEFB
square
#B879FE #FE797C #BFFE79 #79FEFB
split-complementary
#B879FE #FEFB79 #7CFE79
monochromatic
#7802FB #983CFE #B879FE #D8B6FE #EFE1FF
Accessibility & contrast
On white
2.91
#B879FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#B879FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B879FE
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B879FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B879FE | 1.00 | 2.91 | 7.20 | 7.20 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#AC92B0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b879fe; /* rgb */ color: rgb(184, 121, 254); /* oklch */ color: oklch(69.8% 0.194 303.7);
Tailwind
colors: {
custom: {
50: '#d0a1ff',
500: '#b879fe',
950: '#000000',
},
}SCSS
$custom: #b879fe; $custom-light: #d0a1ff; $custom-dark: #000000;
JSON
{
"hex": "#b879fe",
"rgb": {
"r": 184,
"g": 121,
"b": 254
},
"hsl": {
"h": 268.421,
"s": 98.519,
"l": 73.529
},
"oklch": {
"l": 0.69773,
"c": 0.19385,
"h": 303.7
},
"luminance": 0.31021
}Semantic roles & 50–950 ramp
primary
#B879FE
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86