#C61BA7
A color in the Purple, Crimson, Magenta family
#c61ba7 is a color in the Purple, Crimson, Magenta family: RGB(198, 27, 167), HSL(311°, 76%, 44%), CMYK(0%, 86%, 16%, 22%). Closest named color: mediumvioletred. Contrast is 5.1:1 on white and 4.12:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #c61ba7 |
|---|---|
| RGB | rgb(198 27 167) |
| RGB (legacy) | rgb(198, 27, 167) |
| RGB % | rgb(78% 11% 65%) |
| HSL | hsl(311 76% 44%) |
| HSV / HSB | hsv(311, 86%, 78%) |
| HWB | hwb(311 11% 22%) |
| CMYK | cmyk(0%, 86%, 16%, 22%) |
| CIELAB (D50) | lab(46.57 71.26 -32.43) |
| LCH | lch(46.57 78.29 335.53) |
| OKLab | oklab(0.5698 0.2188 -0.0902) |
| OKLCH | oklch(0.5698 0.2367 337.59) |
| Decimal | 12983207 |
Properties
| Color Tone | Purple, Crimson, Magenta |
|---|---|
| Closest named color | mediumvioletred ΔE 5.3 |
| Closest web-safe color | #cc3399 |
| Hue | 311° |
| Saturation (HSL / HSV) | 76% / 86% |
| Lightness (HSL) | 44% |
| Brightness or Value (HSV) | 78% |
| Luminance (Rec.601 / Rec.709) | 37% / 29% |
| Relative luminance (WCAG) | 0.1558 |
| Red / Green / Blue | 198 / 27 / 167 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
5.10:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.12:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 73.3 / -28.4 · As background with white / black text: Lc -78.8 / 30.7
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: #c61ba7;
--color-brand-oklch: oklch(56.98% 0.2367 337.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(198 27 167 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c61ba7] text-[#c61ba7] border-[#c61ba7]">