#C030D9

A color in the Purple, Crimson, Magenta family

#c030d9 is a color in the Purple, Crimson, Magenta family: RGB(192, 48, 217), HSL(291°, 69%, 52%), CMYK(12%, 78%, 0%, 15%). Closest named color: mediumorchid. Contrast is 4.5:1 on white and 4.67:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c030d9
RGBrgb(192 48 217)
RGB (legacy)rgb(192, 48, 217)
RGB %rgb(75% 19% 85%)
HSLhsl(291 69% 52%)
HSV / HSBhsv(291, 78%, 85%)
HWBhwb(291 19% 15%)
CMYKcmyk(12%, 78%, 0%, 15%)
CIELAB (D50)lab(49.56 70.82 -56.85)
LCHlch(49.56 90.82 321.25)
OKLaboklab(0.6016 0.1972 -0.1591)
OKLCHoklch(0.6016 0.2534 321.1)
Decimal12595417

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 5.7
Closest web-safe color#cc33cc
Hue291°
Saturation (HSL / HSV)69% / 78%
Lightness (HSL)52%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)43% / 36%
Relative luminance (WCAG)0.1833
Red / Green / Blue192 / 48 / 217

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.50:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.67: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 69.8 / -31.8 · As background with white / black text: Lc -75.3 / 34.3

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: #c030d9;
  --color-brand-oklch: oklch(60.16% 0.2534 321.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(192 48 217 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c030d9] text-[#c030d9] border-[#c030d9]">