#CC4ECC

A color in the Purple, Crimson, Magenta family

#cc4ecc is a color in the Purple, Crimson, Magenta family: RGB(204, 78, 204), HSL(300°, 55%, 55%), CMYK(0%, 62%, 0%, 20%). Closest named color: mediumorchid. Contrast is 3.8:1 on white and 5.53:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cc4ecc
RGBrgb(204 78 204)
RGB (legacy)rgb(204, 78, 204)
RGB %rgb(80% 31% 80%)
HSLhsl(300 55% 55%)
HSV / HSBhsv(300, 62%, 80%)
HWBhwb(300 31% 20%)
CMYKcmyk(0%, 62%, 0%, 20%)
CIELAB (D50)lab(54.61 61.9 -41.29)
LCHlch(54.61 74.41 326.29)
OKLaboklab(0.6373 0.1818 -0.1148)
OKLCHoklch(0.6373 0.215 327.74)
Decimal13389516

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 3.5
Closest web-safe color#cc66cc
Hue300°
Saturation (HSL / HSV)55% / 62%
Lightness (HSL)55%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)51% / 45%
Relative luminance (WCAG)0.2265
Red / Green / Blue204 / 78 / 204

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.80:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.53: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 64.7 / -37 · As background with white / black text: Lc -70.2 / 39.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: #cc4ecc;
  --color-brand-oklch: oklch(63.73% 0.215 327.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(204 78 204 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cc4ecc] text-[#cc4ecc] border-[#cc4ecc]">