#BA91C0#BA91C0
#BA91C0 is a light, moderate purple. Relative luminance 0.345; OKLCH L 71.1% C 0.081 H 322.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BA91C0 |
|---|---|
| RGB | rgb(186, 145, 192) |
| HSL | hsl(292, 27%, 66%) |
| HSV | hsv(292, 24%, 75%) |
| CMYK | cmyk(3.1%, 24.5%, 0%, 24.7%) |
| CIE-LAB | lab(65.35, 23.68, -18.45) |
| CIE-LCH | lch(65.35, 30.02, 322.08°) |
| OKLab | oklab(71.06% 0.064 -0.0499) |
| OKLCH | oklch(71.06% 0.081 322.1) |
| XYZ | xyz(39.8883, 34.4966, 54.4162) |
| Luminance | 0.3450 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 5.18
Dusty Lavender
#AC86A8
ΔE00 5.38
Pale Purple
#B790D4
ΔE00 5.49
Heather
#A484AC
ΔE00 5.58
Plum
#DDA0DD
ΔE00 7.37
Lavender
#B39DDB
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA91C0 #97C091
analogous
#A291C0 #BA91C0 #C091AE
triadic
#BA91C0 #C0BA91 #91C0BA
tetradic
#BA91C0 #C0A291 #97C091 #91AEC0
square
#BA91C0 #C0A291 #97C091 #91AEC0
split-complementary
#BA91C0 #AEC091 #91C0A2
monochromatic
#814E88 #A26AAA #BA91C0 #D2B8D6 #EBDFED
Accessibility & contrast
On white
2.66
#BA91C0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#BA91C0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA91C0
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA91C0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA91C0 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D9CC2
Deuteranopia (green-blind)
#96A0BE
Tritanopia (blue-blind)
#BC96A1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ba91c0; /* rgb */ color: rgb(186, 145, 192); /* oklch */ color: oklch(71.1% 0.081 322.1);
Tailwind
colors: {
custom: {
50: '#cfb1d3',
500: '#ba91c0',
950: '#000000',
},
}SCSS
$custom: #ba91c0; $custom-light: #cfb1d3; $custom-dark: #000000;
JSON
{
"hex": "#ba91c0",
"rgb": {
"r": 186,
"g": 145,
"b": 192
},
"hsl": {
"h": 292.34,
"s": 27.168,
"l": 66.078
},
"oklch": {
"l": 0.71058,
"c": 0.08115,
"h": 322.1
},
"luminance": 0.34496
}Semantic roles & 50–950 ramp
primary
#BA91C0
secondary
#D1DECF
accent
#A6404D
background
#FCFAFC
surface
#F9F5F9
border
#D2CFD2
text
#141014
muted
#827F82