#C52DBD#C52DBD

#C52DBD is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.0% C 0.237 H 330.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C52DBD
RGBrgb(197, 45, 189)
HSLhsl(303, 63%, 47%)
HSVhsv(303, 77%, 77%)
CMYKcmyk(0%, 77.2%, 4.1%, 22.7%)
CIE-LABlab(48.79, 72.69, -42.34)
CIE-LCHlch(48.79, 84.12, 329.78°)
OKLaboklab(59.01% 0.2065 -0.1169)
OKLCHoklch(59.01% 0.237 330.5)
XYZxyz(33.1496, 17.4239, 49.7515)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52DBD #2DC535
analogous
#812DC5 #C52DBD #C52D71
triadic
#C52DBD #BDC52D #2DBDC5
tetradic
#C52DBD #C5812D #2DC535 #2D71C5
square
#C52DBD #C5812D #2DC535 #2D71C5
split-complementary
#C52DBD #71C52D #2DC581
monochromatic
#61165D #93228D #C52DBD #D957D2 #E488DF

Accessibility & contrast

On white

4.68
#C52DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C52DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52DBD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52DBD#FFFFFF#000000##FFFFFF
##C52DBD1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#CD4374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c52dbd;
/* rgb */ color: rgb(197, 45, 189);
/* oklch */ color: oklch(59.0% 0.237 330.5);
Tailwind
colors: {
  custom: {
    50: '#db78d1',
    500: '#c52dbd',
    950: '#000000',
  },
}
SCSS
$custom: #c52dbd;
$custom-light: #db78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c52dbd",
  "rgb": {
    "r": 197,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 303.158,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.23729,
    "h": 330.5
  },
  "luminance": 0.17421
}

Semantic roles & 50–950 ramp

primary
#C52DBD
secondary
#80CE84
accent
#E64B42
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A14
muted
#847C82

Preview Lab

Preview with #C52DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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