#BB97CF#BB97CF
#BB97CF is a light, moderate violet. Relative luminance 0.372; OKLCH L 72.8% C 0.088 H 313.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #BB97CF |
|---|---|
| RGB | rgb(187, 151, 207) |
| HSL | hsl(279, 37%, 70%) |
| HSV | hsv(279, 27%, 81%) |
| CMYK | cmyk(9.7%, 27.1%, 0%, 18.8%) |
| CIE-LAB | lab(67.43, 23.69, -23.64) |
| CIE-LCH | lch(67.43, 33.47, 315.06°) |
| OKLab | oklab(72.85% 0.0606 -0.0644) |
| OKLCH | oklch(72.85% 0.088 313.2) |
| XYZ | xyz(42.8208, 37.2036, 63.9446) |
| Luminance | 0.3720 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.11
Lavender
#B39DDB
ΔE00 4.39
Lilac
#C8A2C8
ΔE00 5.91
Lavender (survey)
#C79FEF
ΔE00 6.00
Plum
#DDA0DD
ΔE00 6.70
Baby Purple
#CA9BF7
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB97CF #ABCF97
analogous
#9F97CF #BB97CF #CF97C7
triadic
#BB97CF #CFBB97 #97CFBB
tetradic
#BB97CF #CF9F97 #ABCF97 #97C7CF
square
#BB97CF #CF9F97 #ABCF97 #97C7CF
split-complementary
#BB97CF #C7CF97 #97CF9F
monochromatic
#824AA1 #A06DBC #BB97CF #D6C1E2 #F1EAF5
Accessibility & contrast
On white
2.49
#BB97CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#BB97CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB97CF
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB97CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB97CF | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FA2D1
Deuteranopia (green-blind)
#96A5CD
Tritanopia (blue-blind)
#BA9EAB
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #bb97cf; /* rgb */ color: rgb(187, 151, 207); /* oklch */ color: oklch(72.8% 0.088 313.2);
Tailwind
colors: {
custom: {
50: '#d0b6dd',
500: '#bb97cf',
950: '#000000',
},
}SCSS
$custom: #bb97cf; $custom-light: #d0b6dd; $custom-dark: #000000;
JSON
{
"hex": "#bb97cf",
"rgb": {
"r": 187,
"g": 151,
"b": 207
},
"hsl": {
"h": 278.571,
"s": 36.842,
"l": 70.196
},
"oklch": {
"l": 0.72848,
"c": 0.08847,
"h": 313.2
},
"luminance": 0.37203
}Semantic roles & 50–950 ramp
primary
#BB97CF
secondary
#DFE9D9
accent
#B03661
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083