#BB98CF#BB98CF
#BB98CF is a light, moderate violet. Relative luminance 0.375; OKLCH L 73.0% C 0.087 H 313.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #BB98CF |
|---|---|
| RGB | rgb(187, 152, 207) |
| HSL | hsl(278, 36%, 70%) |
| HSV | hsv(278, 27%, 81%) |
| CMYK | cmyk(9.7%, 26.6%, 0%, 18.8%) |
| CIE-LAB | lab(67.67, 23.14, -23.27) |
| CIE-LCH | lch(67.67, 32.82, 314.83°) |
| OKLab | oklab(73.03% 0.0591 -0.0634) |
| OKLCH | oklch(73.03% 0.087 313) |
| XYZ | xyz(42.9824, 37.5268, 63.9985) |
| Luminance | 0.3753 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.39
Lavender
#B39DDB
ΔE00 4.31
Lilac
#C8A2C8
ΔE00 5.69
Lavender (survey)
#C79FEF
ΔE00 6.05
Plum
#DDA0DD
ΔE00 6.70
Baby Purple
#CA9BF7
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB98CF #ACCF98
analogous
#9F98CF #BB98CF #CF98C7
triadic
#BB98CF #CFBB98 #98CFBB
tetradic
#BB98CF #CF9F98 #ACCF98 #98C7CF
square
#BB98CF #CF9F98 #ACCF98 #98C7CF
split-complementary
#BB98CF #C7CF98 #98CF9F
monochromatic
#824BA1 #9F6EBC #BB98CF #D7C2E2 #F1EAF5
Accessibility & contrast
On white
2.47
#BB98CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#BB98CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB98CF
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB98CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB98CF | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90A3D1
Deuteranopia (green-blind)
#97A6CD
Tritanopia (blue-blind)
#BA9FAB
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #bb98cf; /* rgb */ color: rgb(187, 152, 207); /* oklch */ color: oklch(73.0% 0.087 313.0);
Tailwind
colors: {
custom: {
50: '#d0b6dd',
500: '#bb98cf',
950: '#000000',
},
}SCSS
$custom: #bb98cf; $custom-light: #d0b6dd; $custom-dark: #000000;
JSON
{
"hex": "#bb98cf",
"rgb": {
"r": 187,
"g": 152,
"b": 207
},
"hsl": {
"h": 278.182,
"s": 36.424,
"l": 70.392
},
"oklch": {
"l": 0.73033,
"c": 0.08669,
"h": 313
},
"luminance": 0.37526
}Semantic roles & 50–950 ramp
primary
#BB98CF
secondary
#DFE9DA
accent
#AF3662
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083