#BA46C4#BA46C4
#BA46C4 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.210 H 324.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BA46C4 |
|---|---|
| RGB | rgb(186, 70, 196) |
| HSL | hsl(295, 52%, 52%) |
| HSV | hsv(295, 64%, 77%) |
| CMYK | cmyk(5.1%, 64.3%, 0%, 23.1%) |
| CIE-LAB | lab(50.46, 62.82, -43.86) |
| CIE-LCH | lch(50.46, 76.62, 325.08°) |
| OKLab | oklab(59.99% 0.1706 -0.1218) |
| OKLCH | oklch(59.99% 0.21 324.5) |
| XYZ | xyz(32.4028, 18.8069, 54.1372) |
| Luminance | 0.1880 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.58
Mediumorchid
#BA55D3
ΔE00 3.88
Pinky Purple
#C94CBE
ΔE00 4.17
Purple Pink
#D725DE
ΔE00 5.30
Pinkish Purple
#D648D7
ΔE00 5.78
Amethyst
#9B5FC0
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA46C4 #50C446
analogous
#7B46C4 #BA46C4 #C4468F
triadic
#BA46C4 #C4BA46 #46C4BA
tetradic
#BA46C4 #C47B46 #50C446 #468FC4
square
#BA46C4 #C47B46 #50C446 #468FC4
split-complementary
#BA46C4 #8FC446 #46C47B
monochromatic
#67236D #93329B #BA46C4 #CB74D3 #DDA3E2
Accessibility & contrast
On white
4.41
#BA46C4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#BA46C4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA46C4
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA46C4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA46C4 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6FC8
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#BE597F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba46c4; /* rgb */ color: rgb(186, 70, 196); /* oklch */ color: oklch(60.0% 0.210 324.5);
Tailwind
colors: {
custom: {
50: '#d282d6',
500: '#ba46c4',
950: '#000000',
},
}SCSS
$custom: #ba46c4; $custom-light: #d282d6; $custom-dark: #000000;
JSON
{
"hex": "#ba46c4",
"rgb": {
"r": 186,
"g": 70,
"b": 196
},
"hsl": {
"h": 295.238,
"s": 51.639,
"l": 52.157
},
"oklch": {
"l": 0.59989,
"c": 0.20961,
"h": 324.5
},
"luminance": 0.18805
}Semantic roles & 50–950 ramp
primary
#BA46C4
secondary
#9CCE97
accent
#DB4D58
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83