#BA91C6#BA91C6
#BA91C6 is a light, moderate purple. Relative luminance 0.348; OKLCH L 71.3% C 0.088 H 318.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BA91C6 |
|---|---|
| RGB | rgb(186, 145, 198) |
| HSL | hsl(286, 32%, 67%) |
| HSV | hsv(286, 27%, 78%) |
| CMYK | cmyk(6.1%, 26.8%, 0%, 22.4%) |
| CIE-LAB | lab(65.57, 24.87, -21.48) |
| CIE-LCH | lch(65.57, 32.86, 319.18°) |
| OKLab | oklab(71.29% 0.0659 -0.0583) |
| OKLCH | oklch(71.29% 0.088 318.5) |
| XYZ | xyz(40.5667, 34.7679, 57.9890) |
| Luminance | 0.3477 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.90
Lilac
#C8A2C8
ΔE00 5.95
Heather
#A484AC
ΔE00 6.21
Lavender
#B39DDB
ΔE00 6.42
Dusty Lavender
#AC86A8
ΔE00 6.62
Wisteria
#A87DC2
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA91C6 #9DC691
analogous
#A091C6 #BA91C6 #C691B8
triadic
#BA91C6 #C6BA91 #91C6BA
tetradic
#BA91C6 #C6A091 #9DC691 #91B8C6
square
#BA91C6 #C6A091 #9DC691 #91B8C6
split-complementary
#BA91C6 #B8C691 #91C6A0
monochromatic
#814B91 #A169B1 #BA91C6 #D3B9DB #EDE2F0
Accessibility & contrast
On white
2.64
#BA91C6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#BA91C6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA91C6
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA91C6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA91C6 | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B9DC8
Deuteranopia (green-blind)
#94A1C4
Tritanopia (blue-blind)
#BA97A4
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ba91c6; /* rgb */ color: rgb(186, 145, 198); /* oklch */ color: oklch(71.3% 0.088 318.5);
Tailwind
colors: {
custom: {
50: '#cfb1d7',
500: '#ba91c6',
950: '#000000',
},
}SCSS
$custom: #ba91c6; $custom-light: #cfb1d7; $custom-dark: #000000;
JSON
{
"hex": "#ba91c6",
"rgb": {
"r": 186,
"g": 145,
"b": 198
},
"hsl": {
"h": 286.415,
"s": 31.737,
"l": 67.255
},
"oklch": {
"l": 0.71291,
"c": 0.08798,
"h": 318.5
},
"luminance": 0.34767
}Semantic roles & 50–950 ramp
primary
#BA91C6
secondary
#D5E2D1
accent
#AA3B54
background
#FCFAFD
surface
#F9F5FA
border
#D2CFD3
text
#141014
muted
#827F83