#C331C4

A color in the Purple, Crimson, Magenta family

#c331c4 is a color in the Purple, Crimson, Magenta family: RGB(195, 49, 196), HSL(300°, 60%, 48%), CMYK(1%, 75%, 0%, 23%). Closest named color: mediumorchid. Contrast is 4.61:1 on white and 4.56:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c331c4
RGBrgb(195 49 196)
RGB (legacy)rgb(195, 49, 196)
RGB %rgb(76% 19% 77%)
HSLhsl(300 60% 48%)
HSV / HSBhsv(300, 75%, 77%)
HWBhwb(300 19% 23%)
CMYKcmyk(1%, 75%, 0%, 23%)
CIELAB (D50)lab(49.12 68.62 -45.46)
LCHlch(49.12 82.32 326.47)
OKLaboklab(0.5938 0.2011 -0.1268)
OKLCHoklch(0.5938 0.2378 327.77)
Decimal12792260

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 5.8
Closest web-safe color#cc33cc
Hue300°
Saturation (HSL / HSV)60% / 75%
Lightness (HSL)48%
Brightness or Value (HSV)77%
Luminance (Rec.601 / Rec.709)43% / 36%
Relative luminance (WCAG)0.1778
Red / Green / Blue195 / 49 / 196

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.61:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.56: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 70.7 / -31 · As background with white / black text: Lc -76.1 / 33.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: #c331c4;
  --color-brand-oklch: oklch(59.38% 0.2378 327.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(195 49 196 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c331c4] text-[#c331c4] border-[#c331c4]">