#BA98BF#BA98BF
#BA98BF is a light, moderate purple. Relative luminance 0.367; OKLCH L 72.3% C 0.067 H 322.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #BA98BF |
|---|---|
| RGB | rgb(186, 152, 191) |
| HSL | hsl(292, 23%, 67%) |
| HSV | hsv(292, 20%, 75%) |
| CMYK | cmyk(2.6%, 20.4%, 0%, 25.1%) |
| CIE-LAB | lab(67.02, 19.58, -15.37) |
| CIE-LCH | lch(67.02, 24.89, 321.87°) |
| OKLab | oklab(72.33% 0.053 -0.0414) |
| OKLCH | oklch(72.33% 0.067 322) |
| XYZ | xyz(40.8807, 36.6579, 54.2023) |
| Luminance | 0.3666 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 3.36
Dusty Lavender
#AC86A8
ΔE00 5.84
Heather
#A484AC
ΔE00 6.53
Pale Purple
#B790D4
ΔE00 7.25
Lavender
#B39DDB
ΔE00 7.81
Plum
#DDA0DD
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA98BF #9DBF98
analogous
#A798BF #BA98BF #BF98B0
triadic
#BA98BF #BFBA98 #98BFBA
tetradic
#BA98BF #BFA798 #9DBF98 #98B0BF
square
#BA98BF #BFA798 #9DBF98 #98B0BF
split-complementary
#BA98BF #B0BF98 #98BFA7
monochromatic
#815588 #A172A8 #BA98BF #D3BED6 #EDE3EE
Accessibility & contrast
On white
2.52
#BA98BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#BA98BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA98BF
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA98BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA98BF | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95A1C1
Deuteranopia (green-blind)
#9CA4BE
Tritanopia (blue-blind)
#BB9CA5
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #ba98bf; /* rgb */ color: rgb(186, 152, 191); /* oklch */ color: oklch(72.3% 0.067 322.0);
Tailwind
colors: {
custom: {
50: '#cfb6d2',
500: '#ba98bf',
950: '#000000',
},
}SCSS
$custom: #ba98bf; $custom-light: #cfb6d2; $custom-dark: #000000;
JSON
{
"hex": "#ba98bf",
"rgb": {
"r": 186,
"g": 152,
"b": 191
},
"hsl": {
"h": 292.308,
"s": 23.353,
"l": 67.255
},
"oklch": {
"l": 0.72326,
"c": 0.06723,
"h": 322
},
"luminance": 0.36657
}Semantic roles & 50–950 ramp
primary
#BA98BF
secondary
#D5E0D3
accent
#A24450
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082