#C337AC#C337AC

#C337AC is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.214 H 335.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C337AC
RGBrgb(195, 55, 172)
HSLhsl(310, 56%, 49%)
HSVhsv(310, 72%, 76%)
CMYKcmyk(0%, 71.8%, 11.8%, 23.5%)
CIE-LABlab(48.66, 66.66, -32.61)
CIE-LCHlch(48.66, 74.21, 333.93°)
OKLaboklab(58.57% 0.1948 -0.089)
OKLCHoklch(58.57% 0.214 335.4)
XYZxyz(31.3187, 17.3158, 40.7146)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C337AC #37C34E
analogous
#9437C3 #C337AC #C33766
triadic
#C337AC #ACC337 #37ACC3
tetradic
#C337AC #C39437 #37C34E #3766C3
square
#C337AC #C39437 #37C34E #3766C3
split-complementary
#C337AC #66C337 #37C394
monochromatic
#641C58 #932A82 #C337AC #D364C1 #E194D4

Accessibility & contrast

On white

4.71
#C337AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C337AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C337AC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C337AC#FFFFFF#000000##FFFFFF
##C337AC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c337ac;
/* rgb */ color: rgb(195, 55, 172);
/* oklch */ color: oklch(58.6% 0.214 335.4);
Tailwind
colors: {
  custom: {
    50: '#d97bc5',
    500: '#c337ac',
    950: '#000000',
  },
}
SCSS
$custom: #c337ac;
$custom-light: #d97bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c337ac",
  "rgb": {
    "r": 195,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 309.857,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.21418,
    "h": 335.4
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#C337AC
secondary
#8ACC95
accent
#DF6149
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C337AC

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

Preview Lab → · Contrast checker → · Palette generator →

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