#BA61BA
A color in the Purple, Crimson, Magenta family
#ba61ba is a color in the Purple, Crimson, Magenta family: RGB(186, 97, 186), HSL(300°, 39%, 55%), CMYK(0%, 48%, 0%, 27%). Closest named color: mediumorchid. Contrast is 3.81:1 on white and 5.51:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #ba61ba |
|---|---|
| RGB | rgb(186 97 186) |
| RGB (legacy) | rgb(186, 97, 186) |
| RGB % | rgb(73% 38% 73%) |
| HSL | hsl(300 39% 55%) |
| HSV / HSB | hsv(300, 48%, 73%) |
| HWB | hwb(300 38% 27%) |
| CMYK | cmyk(0%, 48%, 0%, 27%) |
| CIELAB (D50) | lab(54.52 45.9 -31.36) |
| LCH | lch(54.52 55.59 325.65) |
| OKLab | oklab(0.6285 0.1348 -0.0866) |
| OKLCH | oklch(0.6285 0.1602 327.27) |
| Decimal | 12214714 |
Properties
| Color Tone | Purple, Crimson, Magenta |
|---|---|
| Closest named color | mediumorchid ΔE 4.9 |
| Closest web-safe color | #cc66cc |
| Hue | 300° |
| Saturation (HSL / HSV) | 39% / 48% |
| Lightness (HSL) | 55% |
| Brightness or Value (HSV) | 73% |
| Luminance (Rec.601 / Rec.709) | 52% / 48% |
| Relative luminance (WCAG) | 0.2253 |
| Red / Green / Blue | 186 / 97 / 186 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
3.81:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.51:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 65.2 / -36.4 · As background with white / black text: Lc -70.7 / 38.8
Lightness Scale (OKLCH 50–950)
Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.
Tints (mixed with white)
Shades (mixed with black)
Color Harmonies
Complementary
Split Complementary
Analogous
Color Vision Deficiency Simulation
Estimated appearance of this color for people with color vision deficiencies (Machado 2009).
Similar Named Colors
Use in CSS
:root {
--color-brand: #ba61ba;
--color-brand-oklch: oklch(62.85% 0.1602 327.27);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 97 186 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba61ba] text-[#ba61ba] border-[#ba61ba]">