#BA43B3#BA43B3
#BA43B3 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.8% C 0.200 H 330.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #BA43B3 |
|---|---|
| RGB | rgb(186, 67, 179) |
| HSL | hsl(304, 47%, 50%) |
| HSV | hsv(304, 64%, 73%) |
| CMYK | cmyk(0%, 64%, 3.8%, 27.1%) |
| CIE-LAB | lab(49.14, 61.13, -36.06) |
| CIE-LCH | lch(49.14, 70.97, 329.46°) |
| OKLab | oklab(58.75% 0.1731 -0.0992) |
| OKLCH | oklch(58.75% 0.2 330.2) |
| XYZ | xyz(30.3934, 17.7103, 44.4567) |
| Luminance | 0.1771 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.42
Pinky Purple
#C94CBE
ΔE00 4.17
Ugly Purple
#A442A0
ΔE00 4.94
Medium Purple
#9E43A2
ΔE00 5.74
Mediumorchid
#BA55D3
ΔE00 6.54
Purple Pink
#D725DE
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA43B3 #43BA4A
analogous
#8543BA #BA43B3 #BA4378
triadic
#BA43B3 #B3BA43 #43B3BA
tetradic
#BA43B3 #BA8543 #43BA4A #4378BA
square
#BA43B3 #BA8543 #43BA4A #4378BA
split-complementary
#BA43B3 #78BA43 #43BA85
monochromatic
#60235C #8D3388 #BA43B3 #CB6FC6 #DB9CD8
Accessibility & contrast
On white
4.62
#BA43B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#BA43B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA43B3
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA43B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA43B3 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#637BB0
Tritanopia (blue-blind)
#C15075
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba43b3; /* rgb */ color: rgb(186, 67, 179); /* oklch */ color: oklch(58.8% 0.200 330.2);
Tailwind
colors: {
custom: {
50: '#d280ca',
500: '#ba43b3',
950: '#000000',
},
}SCSS
$custom: #ba43b3; $custom-light: #d280ca; $custom-dark: #000000;
JSON
{
"hex": "#ba43b3",
"rgb": {
"r": 186,
"g": 67,
"b": 179
},
"hsl": {
"h": 303.529,
"s": 47.036,
"l": 49.608
},
"oklch": {
"l": 0.58751,
"c": 0.19952,
"h": 330.2
},
"luminance": 0.17708
}Semantic roles & 50–950 ramp
primary
#BA43B3
secondary
#91C894
accent
#D75951
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82