#BA3EAB#BA3EAB
#BA3EAB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.8% C 0.200 H 333.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3EAB |
|---|---|
| RGB | rgb(186, 62, 171) |
| HSL | hsl(307, 50%, 49%) |
| HSV | hsv(307, 67%, 73%) |
| CMYK | cmyk(0%, 66.7%, 8.1%, 27.1%) |
| CIE-LAB | lab(48.04, 61.81, -33.09) |
| CIE-LCH | lch(48.04, 70.11, 331.84°) |
| OKLab | oklab(57.82% 0.1781 -0.0906) |
| OKLCH | oklch(57.82% 0.2 333) |
| XYZ | xyz(29.3231, 16.8270, 40.2237) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.16
Ugly Purple
#A442A0
ΔE00 4.19
Medium Purple
#9E43A2
ΔE00 5.30
Pinky Purple
#C94CBE
ΔE00 5.32
Barney
#AC1DB8
ΔE00 7.04
Purply
#983FB2
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3EAB #3EBA4D
analogous
#8B3EBA #BA3EAB #BA3E6D
triadic
#BA3EAB #ABBA3E #3EABBA
tetradic
#BA3EAB #BA8B3E #3EBA4D #3E6DBA
square
#BA3EAB #BA8B3E #3EBA4D #3E6DBA
split-complementary
#BA3EAB #6DBA3E #3EBA8B
monochromatic
#5E1F57 #8C2F81 #BA3EAB #CD68C1 #DC96D4
Accessibility & contrast
On white
4.81
#BA3EAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#BA3EAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3EAB
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3EAB | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A67AE
Deuteranopia (green-blind)
#6578A8
Tritanopia (blue-blind)
#C2496F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ba3eab; /* rgb */ color: rgb(186, 62, 171); /* oklch */ color: oklch(57.8% 0.200 333.0);
Tailwind
colors: {
custom: {
50: '#d27dc4',
500: '#ba3eab',
950: '#000000',
},
}SCSS
$custom: #ba3eab; $custom-light: #d27dc4; $custom-dark: #000000;
JSON
{
"hex": "#ba3eab",
"rgb": {
"r": 186,
"g": 62,
"b": 171
},
"hsl": {
"h": 307.258,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.57824,
"c": 0.19984,
"h": 333
},
"luminance": 0.16825
}Semantic roles & 50–950 ramp
primary
#BA3EAB
secondary
#8CC893
accent
#DA5F4E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82