#BA3EAD#BA3EAD
#BA3EAD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.201 H 332.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3EAD |
|---|---|
| RGB | rgb(186, 62, 173) |
| HSL | hsl(306, 50%, 49%) |
| HSV | hsv(306, 67%, 73%) |
| CMYK | cmyk(0%, 66.7%, 7%, 27.1%) |
| CIE-LAB | lab(48.14, 62.13, -34.12) |
| CIE-LCH | lch(48.14, 70.88, 331.23°) |
| OKLab | oklab(57.93% 0.1783 -0.0935) |
| OKLCH | oklch(57.93% 0.201 332.3) |
| XYZ | xyz(29.5152, 16.9038, 41.2353) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.98
Ugly Purple
#A442A0
ΔE00 4.26
Pinky Purple
#C94CBE
ΔE00 5.17
Medium Purple
#9E43A2
ΔE00 5.29
Barney
#AC1DB8
ΔE00 6.86
Purply
#983FB2
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3EAD #3EBA4B
analogous
#893EBA #BA3EAD #BA3E6F
triadic
#BA3EAD #ADBA3E #3EADBA
tetradic
#BA3EAD #BA893E #3EBA4B #3E6FBA
square
#BA3EAD #BA893E #3EBA4B #3E6FBA
split-complementary
#BA3EAD #6FBA3E #3EBA89
monochromatic
#5E1F58 #8C2F82 #BA3EAD #CD68C2 #DC96D5
Accessibility & contrast
On white
4.79
#BA3EAD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#BA3EAD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3EAD
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3EAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3EAD | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3867B0
Deuteranopia (green-blind)
#6479AA
Tritanopia (blue-blind)
#C24A70
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ba3ead; /* rgb */ color: rgb(186, 62, 173); /* oklch */ color: oklch(57.9% 0.201 332.3);
Tailwind
colors: {
custom: {
50: '#d27dc6',
500: '#ba3ead',
950: '#000000',
},
}SCSS
$custom: #ba3ead; $custom-light: #d27dc6; $custom-dark: #000000;
JSON
{
"hex": "#ba3ead",
"rgb": {
"r": 186,
"g": 62,
"b": 173
},
"hsl": {
"h": 306.29,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.57926,
"c": 0.20136,
"h": 332.3
},
"luminance": 0.16901
}Semantic roles & 50–950 ramp
primary
#BA3EAD
secondary
#8CC892
accent
#DA5D4E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82