#BA3CE2#BA3CE2
#BA3CE2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.9% C 0.247 H 316.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3CE2 |
|---|---|
| RGB | rgb(186, 60, 226) |
| HSL | hsl(286, 74%, 56%) |
| HSV | hsv(286, 73%, 89%) |
| CMYK | cmyk(17.7%, 73.5%, 0%, 11.4%) |
| CIE-LAB | lab(50.88, 72.12, -60.35) |
| CIE-LCH | lch(50.88, 94.04, 320.08°) |
| OKLab | oklab(60.85% 0.1793 -0.1699) |
| OKLCH | oklch(60.85% 0.247 316.5) |
| XYZ | xyz(35.5909, 19.1633, 73.7609) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Hot Purple
#CB00F5
ΔE00 3.61
Neon Purple
#BC13FE
ΔE00 4.33
Bright Purple
#BE03FD
ΔE00 4.43
Lightish Purple
#A552E6
ΔE00 4.52
Mediumorchid
#BA55D3
ΔE00 4.76
Purple Pink
#D725DE
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3CE2 #64E23C
analogous
#673CE2 #BA3CE2 #E23CB7
triadic
#BA3CE2 #E2BA3C #3CE2BA
tetradic
#BA3CE2 #E2673C #64E23C #3CB7E2
square
#BA3CE2 #E2673C #64E23C #3CB7E2
split-complementary
#BA3CE2 #B7E23C #3CE267
monochromatic
#71158E #9C1DC4 #BA3CE2 #CD71EA #E0A7F2
Accessibility & contrast
On white
4.35
#BA3CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#BA3CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA3CE2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA3CE2 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#3C7DDE
Tritanopia (blue-blind)
#B8608D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #ba3ce2; /* rgb */ color: rgb(186, 60, 226); /* oklch */ color: oklch(60.9% 0.247 316.5);
Tailwind
colors: {
custom: {
50: '#d37eec',
500: '#ba3ce2',
950: '#000000',
},
}SCSS
$custom: #ba3ce2; $custom-light: #d37eec; $custom-dark: #000000;
JSON
{
"hex": "#ba3ce2",
"rgb": {
"r": 186,
"g": 60,
"b": 226
},
"hsl": {
"h": 285.542,
"s": 74.107,
"l": 56.078
},
"oklch": {
"l": 0.60853,
"c": 0.24703,
"h": 316.5
},
"luminance": 0.19162
}Semantic roles & 50–950 ramp
primary
#BA3CE2
secondary
#ABDF9B
accent
#F13764
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84