#C331B7

A color in the Purple, Crimson, Magenta family

#c331b7 is a color in the Purple, Crimson, Magenta family: RGB(195, 49, 183), HSL(305°, 60%, 48%), CMYK(0%, 75%, 6%, 24%). Closest named color: mediumorchid. Contrast is 4.73:1 on white and 4.44:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c331b7
RGBrgb(195 49 183)
RGB (legacy)rgb(195, 49, 183)
RGB %rgb(76% 19% 72%)
HSLhsl(305 60% 48%)
HSV / HSBhsv(305, 75%, 76%)
HWBhwb(305 19% 24%)
CMYKcmyk(0%, 75%, 6%, 24%)
CIELAB (D50)lab(48.53 67.14 -38.83)
LCHlch(48.53 77.56 329.95)
OKLaboklab(0.5866 0.2011 -0.1081)
OKLCHoklch(0.5866 0.2283 331.74)
Decimal12792247

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.73:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.44: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.5 / -30.2 · As background with white / black text: Lc -77 / 32.6

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: #c331b7;
  --color-brand-oklch: oklch(58.66% 0.2283 331.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(195 49 183 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c331b7] text-[#c331b7] border-[#c331b7]">