#C021BD

A color in the Purple, Crimson, Magenta family

#c021bd is a color in the Purple, Crimson, Magenta family: RGB(192, 33, 189), HSL(301°, 71%, 44%), CMYK(0%, 83%, 2%, 25%). Closest named color: mediumorchid. Contrast is 5.01:1 on white and 4.19:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c021bd
RGBrgb(192 33 189)
RGB (legacy)rgb(192, 33, 189)
RGB %rgb(75% 13% 74%)
HSLhsl(301 71% 44%)
HSV / HSBhsv(301, 83%, 75%)
HWBhwb(301 13% 25%)
CMYKcmyk(0%, 83%, 2%, 25%)
CIELAB (D50)lab(46.85 71.08 -45.03)
LCHlch(46.85 84.15 327.65)
OKLaboklab(0.5753 0.2098 -0.1257)
OKLCHoklch(0.5753 0.2446 329.08)
Decimal12591549

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 7.6
Closest web-safe color#cc33cc
Hue301°
Saturation (HSL / HSV)71% / 83%
Lightness (HSL)44%
Brightness or Value (HSV)75%
Luminance (Rec.601 / Rec.709)39% / 31%
Relative luminance (WCAG)0.1597
Red / Green / Blue192 / 33 / 189

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.01:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.19: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 72.9 / -28.8 · As background with white / black text: Lc -78.4 / 31.2

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: #c021bd;
  --color-brand-oklch: oklch(57.53% 0.2446 329.08);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(192 33 189 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c021bd] text-[#c021bd] border-[#c021bd]">