#B889F6#B889F6
#B889F6 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.9% C 0.160 H 302.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B889F6 |
|---|---|
| RGB | rgb(184, 137, 246) |
| HSL | hsl(266, 86%, 75%) |
| HSV | hsv(266, 44%, 96%) |
| CMYK | cmyk(25.2%, 44.3%, 0%, 3.5%) |
| CIE-LAB | lab(65.54, 39.21, -48.13) |
| CIE-LCH | lch(65.54, 62.09, 309.17°) |
| OKLab | oklab(71.89% 0.0857 -0.1346) |
| OKLCH | oklch(71.89% 0.16 302.5) |
| XYZ | xyz(45.3437, 34.7355, 91.4867) |
| Luminance | 0.3473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.38
Light Purple
#BF77F6
ΔE00 4.68
Baby Purple
#CA9BF7
ΔE00 5.57
Easter Purple
#C071FE
ΔE00 6.00
Pastel Purple
#CAA0FF
ΔE00 6.18
Light Urple
#B36FF6
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B889F6 #C7F689
analogous
#8990F6 #B889F6 #EF89F6
triadic
#B889F6 #F6B889 #89F6B8
tetradic
#B889F6 #F68990 #C7F689 #89F6EF
square
#B889F6 #F68990 #C7F689 #89F6EF
split-complementary
#B889F6 #F6EF89 #90F689
monochromatic
#7417ED #9650F2 #B889F6 #DAC2FA #EEE3FD
Accessibility & contrast
On white
2.64
#B889F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#B889F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B889F6
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B889F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B889F6 | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9EFA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#AD9CB4
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b889f6; /* rgb */ color: rgb(184, 137, 246); /* oklch */ color: oklch(71.9% 0.160 302.5);
Tailwind
colors: {
custom: {
50: '#cfacf9',
500: '#b889f6',
950: '#000000',
},
}SCSS
$custom: #b889f6; $custom-light: #cfacf9; $custom-dark: #000000;
JSON
{
"hex": "#b889f6",
"rgb": {
"r": 184,
"g": 137,
"b": 246
},
"hsl": {
"h": 265.872,
"s": 85.827,
"l": 75.098
},
"oklch": {
"l": 0.71889,
"c": 0.15958,
"h": 302.5
},
"luminance": 0.34735
}Semantic roles & 50–950 ramp
primary
#B889F6
secondary
#E8F5D6
accent
#E20382
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85