#BA96BF#BA96BF
#BA96BF is a light, moderate purple. Relative luminance 0.360; OKLCH L 72.0% C 0.071 H 322.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #BA96BF |
|---|---|
| RGB | rgb(186, 150, 191) |
| HSL | hsl(293, 24%, 67%) |
| HSV | hsv(293, 21%, 75%) |
| CMYK | cmyk(2.6%, 21.5%, 0%, 25.1%) |
| CIE-LAB | lab(66.53, 20.70, -16.11) |
| CIE-LCH | lch(66.53, 26.23, 322.10°) |
| OKLab | oklab(71.95% 0.0561 -0.0434) |
| OKLCH | oklch(71.95% 0.071 322.3) |
| XYZ | xyz(40.5588, 36.0142, 54.0950) |
| Luminance | 0.3601 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 3.75
Dusty Lavender
#AC86A8
ΔE00 5.55
Heather
#A484AC
ΔE00 6.15
Pale Purple
#B790D4
ΔE00 6.75
Plum
#DDA0DD
ΔE00 7.63
Lavender
#B39DDB
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA96BF #9BBF96
analogous
#A696BF #BA96BF #BF96B0
triadic
#BA96BF #BFBA96 #96BFBA
tetradic
#BA96BF #BFA696 #9BBF96 #96B0BF
square
#BA96BF #BFA696 #9BBF96 #96B0BF
split-complementary
#BA96BF #B0BF96 #96BFA6
monochromatic
#815388 #A170A8 #BA96BF #D3BCD6 #ECE2ED
Accessibility & contrast
On white
2.56
#BA96BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#BA96BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA96BF
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA96BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA96BF | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#929FC1
Deuteranopia (green-blind)
#9AA3BE
Tritanopia (blue-blind)
#BC9AA4
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #ba96bf; /* rgb */ color: rgb(186, 150, 191); /* oklch */ color: oklch(72.0% 0.071 322.3);
Tailwind
colors: {
custom: {
50: '#cfb5d2',
500: '#ba96bf',
950: '#000000',
},
}SCSS
$custom: #ba96bf; $custom-light: #cfb5d2; $custom-dark: #000000;
JSON
{
"hex": "#ba96bf",
"rgb": {
"r": 186,
"g": 150,
"b": 191
},
"hsl": {
"h": 292.683,
"s": 24.26,
"l": 66.863
},
"oklch": {
"l": 0.7195,
"c": 0.0709,
"h": 322.3
},
"luminance": 0.36013
}Semantic roles & 50–950 ramp
primary
#BA96BF
secondary
#D3DFD2
accent
#A3434E
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#141114
muted
#828082