#C52CC9#C52CC9

#C52CC9 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.6% C 0.247 H 327.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C52CC9
RGBrgb(197, 44, 201)
HSLhsl(298, 64%, 48%)
HSVhsv(298, 78%, 79%)
CMYKcmyk(2%, 78.1%, 0%, 21.2%)
CIE-LABlab(49.36, 74.82, -48.38)
CIE-LCHlch(49.36, 89.10, 327.11°)
OKLaboklab(59.63% 0.2069 -0.1345)
OKLCHoklch(59.63% 0.247 327)
XYZxyz(34.4687, 17.8912, 56.8849)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52CC9 #30C92C
analogous
#762CC9 #C52CC9 #C92C7F
triadic
#C52CC9 #C9C52C #2CC9C5
tetradic
#C52CC9 #C9762C #30C92C #2C7FC9
square
#C52CC9 #C9762C #30C92C #2C7FC9
split-complementary
#C52CC9 #7FC92C #2CC976
monochromatic
#631665 #942197 #C52CC9 #D758DA #E38AE5

Accessibility & contrast

On white

4.59
#C52CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C52CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C52CC9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52CC9#FFFFFF#000000##FFFFFF
##C52CC91.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#567CC5
Tritanopia (blue-blind)
#CB497B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c52cc9;
/* rgb */ color: rgb(197, 44, 201);
/* oklch */ color: oklch(59.6% 0.247 327.0);
Tailwind
colors: {
  custom: {
    50: '#db78da',
    500: '#c52cc9',
    950: '#000000',
  },
}
SCSS
$custom: #c52cc9;
$custom-light: #db78da;
$custom-dark: #000000;
JSON
{
  "hex": "#c52cc9",
  "rgb": {
    "r": 197,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 298.471,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.2468,
    "h": 327
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#C52CC9
secondary
#84CF82
accent
#E74145
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #C52CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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