#BA3FCC#BA3FCC
#BA3FCC is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.225 H 322.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3FCC |
|---|---|
| RGB | rgb(186, 63, 204) |
| HSL | hsl(292, 58%, 52%) |
| HSV | hsv(292, 69%, 80%) |
| CMYK | cmyk(8.8%, 69.1%, 0%, 20%) |
| CIE-LAB | lab(49.92, 67.00, -49.32) |
| CIE-LCH | lch(49.92, 83.19, 323.64°) |
| OKLab | oklab(59.75% 0.1781 -0.1376) |
| OKLCH | oklch(59.75% 0.225 322.3) |
| XYZ | xyz(32.9252, 18.3556, 58.9238) |
| Luminance | 0.1835 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.27
Purpley Pink
#C83CB9
ΔE00 4.73
Purple Pink
#D725DE
ΔE00 4.77
Pinky Purple
#C94CBE
ΔE00 5.62
Hot Purple
#CB00F5
ΔE00 5.93
Pinkish Purple
#D648D7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3FCC #51CC3F
analogous
#733FCC #BA3FCC #CC3F98
triadic
#BA3FCC #CCBA3F #3FCCBA
tetradic
#BA3FCC #CC733F #51CC3F #3F98CC
square
#BA3FCC #CC733F #51CC3F #3F98CC
split-complementary
#BA3FCC #98CC3F #3FCC73
monochromatic
#681E72 #932BA3 #BA3FCC #CB6FD9 #DDA0E6
Accessibility & contrast
On white
4.50
#BA3FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#BA3FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA3FCC
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA3FCC | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B6ED0
Deuteranopia (green-blind)
#537BC9
Tritanopia (blue-blind)
#BC5881
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba3fcc; /* rgb */ color: rgb(186, 63, 204); /* oklch */ color: oklch(59.7% 0.225 322.3);
Tailwind
colors: {
custom: {
50: '#d27edc',
500: '#ba3fcc',
950: '#000000',
},
}SCSS
$custom: #ba3fcc; $custom-light: #d27edc; $custom-dark: #000000;
JSON
{
"hex": "#ba3fcc",
"rgb": {
"r": 186,
"g": 63,
"b": 204
},
"hsl": {
"h": 292.34,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.59747,
"c": 0.22511,
"h": 322.3
},
"luminance": 0.18354
}Semantic roles & 50–950 ramp
primary
#BA3FCC
secondary
#9DD295
accent
#E1475A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83