#C021E8

A color in the Purple, Crimson, Magenta family

#c021e8 is a color in the Purple, Crimson, Magenta family: RGB(192, 33, 232), HSL(288°, 81%, 52%), CMYK(17%, 86%, 0%, 9%). Closest named color: mediumorchid. Contrast is 4.54:1 on white and 4.62:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c021e8
RGBrgb(192 33 232)
RGB (legacy)rgb(192, 33, 232)
RGB %rgb(75% 13% 91%)
HSLhsl(288 81% 52%)
HSV / HSBhsv(288, 86%, 91%)
HWBhwb(288 13% 9%)
CMYKcmyk(17%, 86%, 0%, 9%)
CIELAB (D50)lab(49.14 76.27 -66.03)
LCHlch(49.14 100.88 319.12)
OKLaboklab(0.6029 0.2043 -0.1852)
OKLCHoklch(0.6029 0.2757 317.8)
Decimal12591592

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 7.7
Closest web-safe color#cc33ff
Hue288°
Saturation (HSL / HSV)81% / 86%
Lightness (HSL)52%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)40% / 32%
Relative luminance (WCAG)0.1812
Red / Green / Blue192 / 33 / 232

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.54:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.62: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.7 / -31.9 · As background with white / black text: Lc -75.2 / 34.4

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