#BA41A9#BA41A9
#BA41A9 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.0% C 0.194 H 333.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA41A9 |
|---|---|
| RGB | rgb(186, 65, 169) |
| HSL | hsl(308, 48%, 49%) |
| HSV | hsv(308, 65%, 73%) |
| CMYK | cmyk(0%, 65.1%, 9.1%, 27.1%) |
| CIE-LAB | lab(48.37, 60.32, -31.40) |
| CIE-LCH | lch(48.37, 68.00, 332.50°) |
| OKLab | oklab(58.03% 0.1745 -0.0858) |
| OKLCH | oklch(58.03% 0.194 333.8) |
| XYZ | xyz(29.3016, 17.0866, 39.2832) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.26
Ugly Purple
#A442A0
ΔE00 4.36
Pinky Purple
#C94CBE
ΔE00 5.14
Medium Purple
#9E43A2
ΔE00 5.53
Barney
#AC1DB8
ΔE00 7.70
Purply
#983FB2
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA41A9 #41BA52
analogous
#8F41BA #BA41A9 #BA416D
triadic
#BA41A9 #A9BA41 #41A9BA
tetradic
#BA41A9 #BA8F41 #41BA52 #416DBA
square
#BA41A9 #BA8F41 #41BA52 #416DBA
split-complementary
#BA41A9 #6DBA41 #41BA8F
monochromatic
#5F2157 #8D3180 #BA41A9 #CC6CBE #DC9AD2
Accessibility & contrast
On white
4.75
#BA41A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#BA41A9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA41A9
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA41A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA41A9 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F68AC
Deuteranopia (green-blind)
#6779A6
Tritanopia (blue-blind)
#C24A6F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba41a9; /* rgb */ color: rgb(186, 65, 169); /* oklch */ color: oklch(58.0% 0.194 333.8);
Tailwind
colors: {
custom: {
50: '#d27ec3',
500: '#ba41a9',
950: '#000000',
},
}SCSS
$custom: #ba41a9; $custom-light: #d27ec3; $custom-dark: #000000;
JSON
{
"hex": "#ba41a9",
"rgb": {
"r": 186,
"g": 65,
"b": 169
},
"hsl": {
"h": 308.43,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.58031,
"c": 0.19441,
"h": 333.8
},
"luminance": 0.17084
}Semantic roles & 50–950 ramp
primary
#BA41A9
secondary
#8FC897
accent
#D86350
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81