#BA3FC9#BA3FC9
#BA3FC9 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.223 H 323.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3FC9 |
|---|---|
| RGB | rgb(186, 63, 201) |
| HSL | hsl(293, 56%, 52%) |
| HSV | hsv(293, 69%, 79%) |
| CMYK | cmyk(7.5%, 68.7%, 0%, 21.2%) |
| CIE-LAB | lab(49.75, 66.46, -47.87) |
| CIE-LCH | lch(49.75, 81.91, 324.24°) |
| OKLab | oklab(59.57% 0.1782 -0.1334) |
| OKLCH | oklch(59.57% 0.223 323.2) |
| XYZ | xyz(32.5688, 18.2130, 57.0470) |
| Luminance | 0.1821 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.34
Mediumorchid
#BA55D3
ΔE00 4.45
Purple Pink
#D725DE
ΔE00 4.93
Pinky Purple
#C94CBE
ΔE00 5.37
Hot Purple
#CB00F5
ΔE00 6.32
Pinkish Purple
#D648D7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3FC9 #4EC93F
analogous
#753FC9 #BA3FC9 #C93F93
triadic
#BA3FC9 #C9BA3F #3FC9BA
tetradic
#BA3FC9 #C9753F #4EC93F #3F93C9
square
#BA3FC9 #C9753F #4EC93F #3F93C9
split-complementary
#BA3FC9 #93C93F #3FC975
monochromatic
#661F6F #922D9E #BA3FC9 #CB6FD6 #DC9FE4
Accessibility & contrast
On white
4.52
#BA3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#BA3FC9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA3FC9
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3FC9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA3FC9 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#156DCD
Deuteranopia (green-blind)
#557BC6
Tritanopia (blue-blind)
#BD5680
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ba3fc9; /* rgb */ color: rgb(186, 63, 201); /* oklch */ color: oklch(59.6% 0.223 323.2);
Tailwind
colors: {
custom: {
50: '#d27eda',
500: '#ba3fc9',
950: '#000000',
},
}SCSS
$custom: #ba3fc9; $custom-light: #d27eda; $custom-dark: #000000;
JSON
{
"hex": "#ba3fc9",
"rgb": {
"r": 186,
"g": 63,
"b": 201
},
"hsl": {
"h": 293.478,
"s": 56.098,
"l": 51.765
},
"oklch": {
"l": 0.59569,
"c": 0.22259,
"h": 323.2
},
"luminance": 0.18211
}Semantic roles & 50–950 ramp
primary
#BA3FC9
secondary
#9AD094
accent
#DF4859
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83