#C52ABC#C52ABC

#C52ABC is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.8% C 0.239 H 330.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C52ABC
RGBrgb(197, 42, 188)
HSLhsl(303, 65%, 47%)
HSVhsv(303, 79%, 77%)
CMYKcmyk(0%, 78.7%, 4.6%, 22.7%)
CIE-LABlab(48.46, 73.33, -42.28)
CIE-LCHlch(48.46, 84.64, 330.04°)
OKLaboklab(58.75% 0.2088 -0.1167)
OKLCHoklch(58.75% 0.239 330.8)
XYZxyz(32.9310, 17.1598, 49.1450)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52ABC #2AC533
analogous
#812AC5 #C52ABC #C52A6F
triadic
#C52ABC #BCC52A #2ABCC5
tetradic
#C52ABC #C5812A #2AC533 #2A6FC5
square
#C52ABC #C5812A #2AC533 #2A6FC5
split-complementary
#C52ABC #6FC52A #2AC581
monochromatic
#60145C #931F8C #C52ABC #DA52D2 #E585DF

Accessibility & contrast

On white

4.74
#C52ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C52ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52ABC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52ABC#FFFFFF#000000##FFFFFF
##C52ABC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C0
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#CD4073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52abc;
/* rgb */ color: rgb(197, 42, 188);
/* oklch */ color: oklch(58.8% 0.239 330.8);
Tailwind
colors: {
  custom: {
    50: '#db77d1',
    500: '#c52abc',
    950: '#000000',
  },
}
SCSS
$custom: #c52abc;
$custom-light: #db77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c52abc",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 303.484,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58754,
    "c": 0.2392,
    "h": 330.8
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#C52ABC
secondary
#7DCE81
accent
#E84A40
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A14
muted
#847C82

Preview Lab

Preview with #C52ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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