#B886F7#B886F7
#B886F7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.4% C 0.166 H 302.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B886F7 |
|---|---|
| RGB | rgb(184, 134, 247) |
| HSL | hsl(267, 88%, 75%) |
| HSV | hsv(267, 46%, 97%) |
| CMYK | cmyk(25.5%, 45.7%, 0%, 3.1%) |
| CIE-LAB | lab(64.93, 41.09, -49.65) |
| CIE-LCH | lch(64.93, 64.45, 309.61°) |
| OKLab | oklab(71.44% 0.0898 -0.139) |
| OKLCH | oklch(71.44% 0.166 302.9) |
| XYZ | xyz(45.0771, 33.9560, 92.1570) |
| Luminance | 0.3396 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.77
Light Purple
#BF77F6
ΔE00 3.94
Easter Purple
#C071FE
ΔE00 5.21
Light Urple
#B36FF6
ΔE00 5.69
Baby Purple
#CA9BF7
ΔE00 6.23
Pastel Purple
#CAA0FF
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B886F7 #C5F786
analogous
#868CF7 #B886F7 #F186F7
triadic
#B886F7 #F7B886 #86F7B8
tetradic
#B886F7 #F7868C #C5F786 #86F7F1
square
#B886F7 #F7868C #C5F786 #86F7F1
split-complementary
#B886F7 #F7F186 #8CF786
monochromatic
#7513EF #964DF3 #B886F7 #DABFFB #EEE2FD
Accessibility & contrast
On white
2.70
#B886F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#B886F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B886F7
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B886F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B886F7 | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#AD9AB3
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b886f7; /* rgb */ color: rgb(184, 134, 247); /* oklch */ color: oklch(71.4% 0.166 302.9);
Tailwind
colors: {
custom: {
50: '#d0aafa',
500: '#b886f7',
950: '#000000',
},
}SCSS
$custom: #b886f7; $custom-light: #d0aafa; $custom-dark: #000000;
JSON
{
"hex": "#b886f7",
"rgb": {
"r": 184,
"g": 134,
"b": 247
},
"hsl": {
"h": 266.549,
"s": 87.597,
"l": 74.706
},
"oklch": {
"l": 0.71444,
"c": 0.16553,
"h": 302.9
},
"luminance": 0.33956
}Semantic roles & 50–950 ramp
primary
#B886F7
secondary
#E7F5D6
accent
#E40180
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85