#C331B4

A color in the Purple, Crimson, Magenta family

#c331b4 is a color in the Purple, Crimson, Magenta family: RGB(195, 49, 180), HSL(306°, 60%, 48%), CMYK(0%, 75%, 8%, 24%). Closest named color: mediumorchid. Contrast is 4.75:1 on white and 4.42:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c331b4
RGBrgb(195 49 180)
RGB (legacy)rgb(195, 49, 180)
RGB %rgb(76% 19% 71%)
HSLhsl(306 60% 48%)
HSV / HSBhsv(306, 75%, 76%)
HWBhwb(306 19% 24%)
CMYKcmyk(0%, 75%, 8%, 24%)
CIELAB (D50)lab(48.4 66.81 -37.28)
LCHlch(48.4 76.51 330.84)
OKLaboklab(0.585 0.201 -0.1037)
OKLCHoklch(0.585 0.2262 332.7)
Decimal12792244

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.9
Closest web-safe color#cc33cc
Hue306°
Saturation (HSL / HSV)60% / 75%
Lightness (HSL)48%
Brightness or Value (HSV)76%
Luminance (Rec.601 / Rec.709)42% / 35%
Relative luminance (WCAG)0.1709
Red / Green / Blue195 / 49 / 180

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.75:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.42: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 71.7 / -30 · As background with white / black text: Lc -77.1 / 32.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: #c331b4;
  --color-brand-oklch: oklch(58.5% 0.2262 332.7);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(195 49 180 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c331b4] text-[#c331b4] border-[#c331b4]">