#C331AC#C331AC

#C331AC is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.221 H 335.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C331AC
RGBrgb(195, 49, 172)
HSLhsl(309, 60%, 48%)
HSVhsv(309, 75%, 76%)
CMYKcmyk(0%, 74.9%, 11.8%, 23.5%)
CIE-LABlab(47.98, 68.58, -33.67)
CIE-LCHlch(47.98, 76.40, 333.85°)
OKLaboklab(58.08% 0.2005 -0.092)
OKLCHoklch(58.08% 0.221 335.4)
XYZxyz(31.0508, 16.7801, 40.6253)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331AC #31C348
analogous
#9131C3 #C331AC #C33163
triadic
#C331AC #ACC331 #31ACC3
tetradic
#C331AC #C39131 #31C348 #3163C3
square
#C331AC #C39131 #31C348 #3163C3
split-complementary
#C331AC #63C331 #31C391
monochromatic
#611856 #922581 #C331AC #D65BC3 #E28CD5

Accessibility & contrast

On white

4.82
#C331AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C331AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C331AC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331AC#FFFFFF#000000##FFFFFF
##C331AC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AF
Deuteranopia (green-blind)
#667AA9
Tritanopia (blue-blind)
#CD3D6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c331ac;
/* rgb */ color: rgb(195, 49, 172);
/* oklch */ color: oklch(58.1% 0.221 335.4);
Tailwind
colors: {
  custom: {
    50: '#d978c5',
    500: '#c331ac',
    950: '#000000',
  },
}
SCSS
$custom: #c331ac;
$custom-light: #d978c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c331ac",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 309.452,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.22058,
    "h": 335.4
  },
  "luminance": 0.16777
}

Semantic roles & 50–950 ramp

primary
#C331AC
secondary
#83CC8F
accent
#E35E45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C331AC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C331AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva