#BA4CC8#BA4CC8
#BA4CC8 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.9% C 0.205 H 323.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4CC8 |
|---|---|
| RGB | rgb(186, 76, 200) |
| HSL | hsl(293, 53%, 54%) |
| HSV | hsv(293, 62%, 78%) |
| CMYK | cmyk(7%, 62%, 0%, 21.6%) |
| CIE-LAB | lab(51.59, 61.01, -44.37) |
| CIE-LCH | lch(51.59, 75.44, 323.97°) |
| OKLab | oklab(60.87% 0.1638 -0.1233) |
| OKLCH | oklch(60.87% 0.205 323) |
| XYZ | xyz(33.2585, 19.7799, 56.6985) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.59
Pinky Purple
#C94CBE
ΔE00 4.00
Purpley Pink
#C83CB9
ΔE00 4.31
Pinkish Purple
#D648D7
ΔE00 5.09
Purple Pink
#D725DE
ΔE00 5.27
Amethyst
#9B5FC0
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4CC8 #5AC84C
analogous
#7C4CC8 #BA4CC8 #C84C98
triadic
#BA4CC8 #C8BA4C #4CC8BA
tetradic
#BA4CC8 #C87C4C #5AC84C #4C98C8
square
#BA4CC8 #C87C4C #5AC84C #4C98C8
split-complementary
#BA4CC8 #98C84C #4CC87C
monochromatic
#6C2475 #9732A4 #BA4CC8 #CC7BD6 #DEAAE5
Accessibility & contrast
On white
4.24
#BA4CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#BA4CC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4CC8
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4CC8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4CC8 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#5E7FC5
Tritanopia (blue-blind)
#BD5F83
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #ba4cc8; /* rgb */ color: rgb(186, 76, 200); /* oklch */ color: oklch(60.9% 0.205 323.0);
Tailwind
colors: {
custom: {
50: '#d285d9',
500: '#ba4cc8',
950: '#000000',
},
}SCSS
$custom: #ba4cc8; $custom-light: #d285d9; $custom-dark: #000000;
JSON
{
"hex": "#ba4cc8",
"rgb": {
"r": 186,
"g": 76,
"b": 200
},
"hsl": {
"h": 293.226,
"s": 52.991,
"l": 54.118
},
"oklch": {
"l": 0.60874,
"c": 0.20502,
"h": 323
},
"luminance": 0.19778
}Semantic roles & 50–950 ramp
primary
#BA4CC8
secondary
#A3D29E
accent
#DC4B5C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83