#C332AB#C332AB

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

Color values

HEX#C332AB
RGBrgb(195, 50, 171)
HSLhsl(310, 59%, 48%)
HSVhsv(310, 74%, 76%)
CMYKcmyk(0%, 74.4%, 12.3%, 23.5%)
CIE-LABlab(48.04, 68.13, -32.99)
CIE-LCHlch(48.04, 75.69, 334.16°)
OKLaboklab(58.11% 0.1995 -0.09)
OKLCHoklch(58.11% 0.219 335.7)
XYZxyz(30.9974, 16.8264, 40.1355)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C332AB #32C34A
analogous
#9232C3 #C332AB #C33262
triadic
#C332AB #ABC332 #32ABC3
tetradic
#C332AB #C39232 #32C34A #3262C3
square
#C332AB #C39232 #32C34A #3262C3
split-complementary
#C332AB #62C332 #32C392
monochromatic
#621956 #922680 #C332AB #D55DC1 #E28ED4

Accessibility & contrast

On white

4.81
#C332AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C332AB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C332AB#FFFFFF#000000##FFFFFF
##C332AB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#677AA8
Tritanopia (blue-blind)
#CD3D6B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c332ab;
/* rgb */ color: rgb(195, 50, 171);
/* oklch */ color: oklch(58.1% 0.219 335.7);
Tailwind
colors: {
  custom: {
    50: '#d979c4',
    500: '#c332ab',
    950: '#000000',
  },
}
SCSS
$custom: #c332ab;
$custom-light: #d979c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c332ab",
  "rgb": {
    "r": 195,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 309.931,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.21887,
    "h": 335.7
  },
  "luminance": 0.16824
}

Semantic roles & 50–950 ramp

primary
#C332AB
secondary
#85CC90
accent
#E25F45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C332AB

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

Preview Lab → · Contrast checker → · Palette generator →

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