#BA3FC2#BA3FC2
#BA3FC2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.217 H 325.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3FC2 |
|---|---|
| RGB | rgb(186, 63, 194) |
| HSL | hsl(296, 52%, 50%) |
| HSV | hsv(296, 68%, 76%) |
| CMYK | cmyk(4.1%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(49.36, 65.24, -44.44) |
| CIE-LCH | lch(49.36, 78.94, 325.74°) |
| OKLab | oklab(59.16% 0.1782 -0.1234) |
| OKLCH | oklch(59.16% 0.217 325.3) |
| XYZ | xyz(31.7641, 17.8912, 52.8088) |
| Luminance | 0.1789 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.50
Pinky Purple
#C94CBE
ΔE00 4.91
Mediumorchid
#BA55D3
ΔE00 5.05
Purple Pink
#D725DE
ΔE00 5.47
Ugly Purple
#A442A0
ΔE00 6.38
Barney
#AC1DB8
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3FC2 #47C23F
analogous
#783FC2 #BA3FC2 #C23F88
triadic
#BA3FC2 #C2BA3F #3FC2BA
tetradic
#BA3FC2 #C2783F #47C23F #3F88C2
square
#BA3FC2 #C2783F #47C23F #3F88C2
split-complementary
#BA3FC2 #88C23F #3FC278
monochromatic
#622066 #8E2F95 #BA3FC2 #CB6DD1 #DB9CE0
Accessibility & contrast
On white
4.59
#BA3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#BA3FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3FC2
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3FC2 | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236CC6
Deuteranopia (green-blind)
#597BBF
Tritanopia (blue-blind)
#BE537C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba3fc2; /* rgb */ color: rgb(186, 63, 194); /* oklch */ color: oklch(59.2% 0.217 325.3);
Tailwind
colors: {
custom: {
50: '#d27ed5',
500: '#ba3fc2',
950: '#000000',
},
}SCSS
$custom: #ba3fc2; $custom-light: #d27ed5; $custom-dark: #000000;
JSON
{
"hex": "#ba3fc2",
"rgb": {
"r": 186,
"g": 63,
"b": 194
},
"hsl": {
"h": 296.336,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.59164,
"c": 0.2168,
"h": 325.3
},
"luminance": 0.17889
}Semantic roles & 50–950 ramp
primary
#BA3FC2
secondary
#95CC91
accent
#DB4D55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83