#C052D4

A color in the Purple, Crimson, Magenta family

#c052d4 is a color in the Purple, Crimson, Magenta family: RGB(192, 82, 212), HSL(291°, 60%, 58%), CMYK(9%, 61%, 0%, 17%). Closest named color: mediumorchid. Contrast is 3.89:1 on white and 5.4:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c052d4
RGBrgb(192 82 212)
RGB (legacy)rgb(192, 82, 212)
RGB %rgb(75% 32% 83%)
HSLhsl(291 60% 58%)
HSV / HSBhsv(291, 61%, 83%)
HWBhwb(291 32% 17%)
CMYKcmyk(9%, 61%, 0%, 17%)
CIELAB (D50)lab(53.78 58.1 -47.3)
LCHlch(53.78 74.92 320.85)
OKLaboklab(0.6302 0.164 -0.1318)
OKLCHoklch(0.6302 0.2104 321.21)
Decimal12604116

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 1.2
Closest web-safe color#cc66cc
Hue291°
Saturation (HSL / HSV)60% / 61%
Lightness (HSL)58%
Brightness or Value (HSV)83%
Luminance (Rec.601 / Rec.709)51% / 45%
Relative luminance (WCAG)0.2199
Red / Green / Blue192 / 82 / 212

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.89:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.40: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.6 / -36 · As background with white / black text: Lc -71.1 / 38.5

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

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: #c052d4;
  --color-brand-oklch: oklch(63.02% 0.2104 321.21);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(192 82 212 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c052d4] text-[#c052d4] border-[#c052d4]">