#C52ABD#C52ABD

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

Color values

HEX#C52ABD
RGBrgb(197, 42, 189)
HSLhsl(303, 65%, 47%)
HSVhsv(303, 79%, 77%)
CMYKcmyk(0%, 78.7%, 4.1%, 22.7%)
CIE-LABlab(48.51, 73.48, -42.77)
CIE-LCHlch(48.51, 85.02, 329.80°)
OKLaboklab(58.81% 0.2088 -0.1182)
OKLCHoklch(58.81% 0.24 330.5)
XYZxyz(33.0391, 17.2031, 49.7147)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52ABD #2AC532
analogous
#802AC5 #C52ABD #C52A6F
triadic
#C52ABD #BDC52A #2ABDC5
tetradic
#C52ABD #C5802A #2AC532 #2A6FC5
square
#C52ABD #C5802A #2AC532 #2A6FC5
split-complementary
#C52ABD #6FC52A #2AC580
monochromatic
#60145C #931F8D #C52ABD #DA52D3 #E585E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C52ABD#FFFFFF#000000##FFFFFF
##C52ABD1.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)
#1066C1
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#CD4174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52abd;
/* rgb */ color: rgb(197, 42, 189);
/* oklch */ color: oklch(58.8% 0.240 330.5);
Tailwind
colors: {
  custom: {
    50: '#db77d1',
    500: '#c52abd',
    950: '#000000',
  },
}
SCSS
$custom: #c52abd;
$custom-light: #db77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c52abd",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 303.097,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5881,
    "c": 0.23989,
    "h": 330.5
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C52ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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