#BA46C5#BA46C5
#BA46C5 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.210 H 324.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BA46C5 |
|---|---|
| RGB | rgb(186, 70, 197) |
| HSL | hsl(295, 52%, 52%) |
| HSV | hsv(295, 64%, 77%) |
| CMYK | cmyk(5.6%, 64.5%, 0%, 22.7%) |
| CIE-LAB | lab(50.51, 63.00, -44.35) |
| CIE-LCH | lch(50.51, 77.04, 324.86°) |
| OKLab | oklab(60.05% 0.1706 -0.1232) |
| OKLCH | oklch(60.05% 0.21 324.2) |
| XYZ | xyz(32.5170, 18.8525, 54.7387) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.71
Mediumorchid
#BA55D3
ΔE00 3.76
Pinky Purple
#C94CBE
ΔE00 4.25
Purple Pink
#D725DE
ΔE00 5.22
Pinkish Purple
#D648D7
ΔE00 5.74
Amethyst
#9B5FC0
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA46C5 #51C546
analogous
#7A46C5 #BA46C5 #C54691
triadic
#BA46C5 #C5BA46 #46C5BA
tetradic
#BA46C5 #C57A46 #51C546 #4691C5
square
#BA46C5 #C57A46 #51C546 #4691C5
split-complementary
#BA46C5 #91C546 #46C57A
monochromatic
#68236E #93319D #BA46C5 #CB75D4 #DDA3E2
Accessibility & contrast
On white
4.40
#BA46C5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#BA46C5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA46C5
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA46C5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA46C5 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6FC9
Deuteranopia (green-blind)
#5B7DC2
Tritanopia (blue-blind)
#BE5980
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba46c5; /* rgb */ color: rgb(186, 70, 197); /* oklch */ color: oklch(60.0% 0.210 324.2);
Tailwind
colors: {
custom: {
50: '#d282d7',
500: '#ba46c5',
950: '#000000',
},
}SCSS
$custom: #ba46c5; $custom-light: #d282d7; $custom-dark: #000000;
JSON
{
"hex": "#ba46c5",
"rgb": {
"r": 186,
"g": 70,
"b": 197
},
"hsl": {
"h": 294.803,
"s": 52.263,
"l": 52.353
},
"oklch": {
"l": 0.60045,
"c": 0.21046,
"h": 324.2
},
"luminance": 0.18851
}Semantic roles & 50–950 ramp
primary
#BA46C5
secondary
#9DCF98
accent
#DC4C59
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83