#BA93BF#BA93BF
#BA93BF is a light, moderate purple. Relative luminance 0.351; OKLCH L 71.4% C 0.076 H 322.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BA93BF |
|---|---|
| RGB | rgb(186, 147, 191) |
| HSL | hsl(293, 26%, 66%) |
| HSV | hsv(293, 23%, 75%) |
| CMYK | cmyk(2.6%, 23%, 0%, 25.1%) |
| CIE-LAB | lab(65.80, 22.37, -17.21) |
| CIE-LCH | lch(65.80, 28.22, 322.42°) |
| OKLab | oklab(71.39% 0.0607 -0.0464) |
| OKLCH | oklch(71.39% 0.076 322.6) |
| XYZ | xyz(40.0862, 35.0690, 53.9374) |
| Luminance | 0.3507 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.52
Dusty Lavender
#AC86A8
ΔE00 5.27
Heather
#A484AC
ΔE00 5.71
Pale Purple
#B790D4
ΔE00 6.10
Plum
#DDA0DD
ΔE00 7.47
Lavender
#B39DDB
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA93BF #98BF93
analogous
#A493BF #BA93BF #BF93AE
triadic
#BA93BF #BFBA93 #93BFBA
tetradic
#BA93BF #BFA493 #98BF93 #93AEBF
square
#BA93BF #BFA493 #98BF93 #93AEBF
split-complementary
#BA93BF #AEBF93 #93BFA4
monochromatic
#815087 #A16DA8 #BA93BF #D3B9D6 #EBE0ED
Accessibility & contrast
On white
2.62
#BA93BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#BA93BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA93BF
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA93BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA93BF | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F9DC1
Deuteranopia (green-blind)
#98A1BD
Tritanopia (blue-blind)
#BC97A2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ba93bf; /* rgb */ color: rgb(186, 147, 191); /* oklch */ color: oklch(71.4% 0.076 322.6);
Tailwind
colors: {
custom: {
50: '#cfb3d2',
500: '#ba93bf',
950: '#000000',
},
}SCSS
$custom: #ba93bf; $custom-light: #cfb3d2; $custom-dark: #000000;
JSON
{
"hex": "#ba93bf",
"rgb": {
"r": 186,
"g": 147,
"b": 191
},
"hsl": {
"h": 293.182,
"s": 25.581,
"l": 66.275
},
"oklch": {
"l": 0.7139,
"c": 0.07639,
"h": 322.6
},
"luminance": 0.35068
}Semantic roles & 50–950 ramp
primary
#BA93BF
secondary
#D1DED0
accent
#A4414D
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#141114
muted
#828082