#C52DC1#C52DC1

#C52DC1 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.2% C 0.240 H 329.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C52DC1
RGBrgb(197, 45, 193)
HSLhsl(302, 63%, 47%)
HSVhsv(302, 77%, 77%)
CMYKcmyk(0%, 77.2%, 2%, 22.7%)
CIE-LABlab(49.01, 73.30, -44.32)
CIE-LCHlch(49.01, 85.66, 328.84°)
OKLaboklab(59.23% 0.2065 -0.1227)
OKLCHoklch(59.23% 0.24 329.3)
XYZxyz(33.5897, 17.6000, 52.0697)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52DC1 #2DC531
analogous
#7D2DC5 #C52DC1 #C52D75
triadic
#C52DC1 #C1C52D #2DC1C5
tetradic
#C52DC1 #C57D2D #2DC531 #2D75C5
square
#C52DC1 #C57D2D #2DC531 #2D75C5
split-complementary
#C52DC1 #75C52D #2DC57D
monochromatic
#61165F #932290 #C52DC1 #D957D5 #E488E2

Accessibility & contrast

On white

4.65
#C52DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C52DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C52DC1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52DC1#FFFFFF#000000##FFFFFF
##C52DC11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B68C5
Deuteranopia (green-blind)
#5C7BBD
Tritanopia (blue-blind)
#CC4577
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c52dc1;
/* rgb */ color: rgb(197, 45, 193);
/* oklch */ color: oklch(59.2% 0.240 329.3);
Tailwind
colors: {
  custom: {
    50: '#db78d4',
    500: '#c52dc1',
    950: '#000000',
  },
}
SCSS
$custom: #c52dc1;
$custom-light: #db78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c52dc1",
  "rgb": {
    "r": 197,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 301.579,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.24014,
    "h": 329.3
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#C52DC1
secondary
#80CE82
accent
#E64642
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#150A14
muted
#847C83

Preview Lab

Preview with #C52DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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