#C331AF

A color in the Purple, Crimson, Magenta family

#c331af is a color in the Purple, Crimson, Magenta family: RGB(195, 49, 175), HSL(308°, 60%, 48%), CMYK(0%, 75%, 10%, 24%). Closest named color: mediumvioletred. Contrast is 4.8:1 on white and 4.38:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c331af
RGBrgb(195 49 175)
RGB (legacy)rgb(195, 49, 175)
RGB %rgb(76% 19% 69%)
HSLhsl(308 60% 48%)
HSV / HSBhsv(308, 75%, 76%)
HWBhwb(308 19% 24%)
CMYKcmyk(0%, 75%, 10%, 24%)
CIELAB (D50)lab(48.19 66.27 -34.68)
LCHlch(48.19 74.8 332.38)
OKLaboklab(0.5823 0.2007 -0.0964)
OKLCHoklch(0.5823 0.2227 334.35)
Decimal12792239

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.80:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.38: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 72 / -29.7 · As background with white / black text: Lc -77.4 / 32.1

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