#BB8EC7#BB8EC7
#BB8EC7 is a light, moderate purple. Relative luminance 0.340; OKLCH L 70.9% C 0.095 H 319.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BB8EC7 |
|---|---|
| RGB | rgb(187, 142, 199) |
| HSL | hsl(287, 34%, 67%) |
| HSV | hsv(287, 29%, 78%) |
| CMYK | cmyk(6%, 28.6%, 0%, 22%) |
| CIE-LAB | lab(64.99, 27.07, -22.91) |
| CIE-LCH | lch(64.99, 35.47, 319.75°) |
| OKLab | oklab(70.88% 0.0719 -0.0623) |
| OKLCH | oklch(70.88% 0.095 319.1) |
| XYZ | xyz(40.4739, 34.0352, 58.4591) |
| Luminance | 0.3403 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.51
Wisteria
#A87DC2
ΔE00 6.17
Heather
#A484AC
ΔE00 6.42
Lavender
#B39DDB
ΔE00 6.83
Lilac
#C8A2C8
ΔE00 6.89
Dusty Lavender
#AC86A8
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB8EC7 #9AC78E
analogous
#9F8EC7 #BB8EC7 #C78EB7
triadic
#BB8EC7 #C7BB8E #8EC7BB
tetradic
#BB8EC7 #C79F8E #9AC78E #8EB7C7
square
#BB8EC7 #C79F8E #9AC78E #8EB7C7
split-complementary
#BB8EC7 #B7C78E #8EC79F
monochromatic
#834892 #A265B3 #BB8EC7 #D4B7DB #ECE0F0
Accessibility & contrast
On white
2.69
#BB8EC7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#BB8EC7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB8EC7
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB8EC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB8EC7 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#879BC9
Deuteranopia (green-blind)
#919FC5
Tritanopia (blue-blind)
#BC94A2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #bb8ec7; /* rgb */ color: rgb(187, 142, 199); /* oklch */ color: oklch(70.9% 0.095 319.1);
Tailwind
colors: {
custom: {
50: '#d0afd8',
500: '#bb8ec7',
950: '#000000',
},
}SCSS
$custom: #bb8ec7; $custom-light: #d0afd8; $custom-dark: #000000;
JSON
{
"hex": "#bb8ec7",
"rgb": {
"r": 187,
"g": 142,
"b": 199
},
"hsl": {
"h": 287.368,
"s": 33.728,
"l": 66.863
},
"oklch": {
"l": 0.70885,
"c": 0.09511,
"h": 319.1
},
"luminance": 0.34034
}Semantic roles & 50–950 ramp
primary
#BB8EC7
secondary
#D3E2CF
accent
#AD3951
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83