#C336AC#C336AC

#C336AC is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.215 H 335.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C336AC
RGBrgb(195, 54, 172)
HSLhsl(310, 57%, 49%)
HSVhsv(310, 72%, 76%)
CMYKcmyk(0%, 72.3%, 11.8%, 23.5%)
CIE-LABlab(48.54, 66.99, -32.80)
CIE-LCHlch(48.54, 74.59, 333.92°)
OKLaboklab(58.48% 0.1958 -0.0895)
OKLCHoklch(58.48% 0.215 335.4)
XYZxyz(31.2716, 17.2218, 40.6989)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336AC #36C34D
analogous
#9436C3 #C336AC #C33666
triadic
#C336AC #ACC336 #36ACC3
tetradic
#C336AC #C39436 #36C34D #3666C3
square
#C336AC #C39436 #36C34D #3666C3
split-complementary
#C336AC #66C336 #36C394
monochromatic
#631B57 #932982 #C336AC #D463C1 #E192D4

Accessibility & contrast

On white

4.73
#C336AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C336AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C336AC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336AC#FFFFFF#000000##FFFFFF
##C336AC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666AF
Deuteranopia (green-blind)
#687BA9
Tritanopia (blue-blind)
#CD416D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c336ac;
/* rgb */ color: rgb(195, 54, 172);
/* oklch */ color: oklch(58.5% 0.215 335.4);
Tailwind
colors: {
  custom: {
    50: '#d97ac5',
    500: '#c336ac',
    950: '#000000',
  },
}
SCSS
$custom: #c336ac;
$custom-light: #d97ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#c336ac",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 309.787,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.21529,
    "h": 335.4
  },
  "luminance": 0.17219
}

Semantic roles & 50–950 ramp

primary
#C336AC
secondary
#89CC94
accent
#E06148
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C336AC

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

Preview Lab → · Contrast checker → · Palette generator →

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