#C52AC9#C52AC9

#C52AC9 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.5% C 0.248 H 327.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C52AC9
RGBrgb(197, 42, 201)
HSLhsl(298, 65%, 48%)
HSVhsv(298, 79%, 79%)
CMYKcmyk(2%, 79.1%, 0%, 21.2%)
CIE-LABlab(49.19, 75.33, -48.67)
CIE-LCHlch(49.19, 89.69, 327.14°)
OKLaboklab(59.5% 0.2084 -0.1353)
OKLCHoklch(59.5% 0.248 327)
XYZxyz(34.3960, 17.7458, 56.8607)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52AC9 #2EC92A
analogous
#762AC9 #C52AC9 #C92A7D
triadic
#C52AC9 #C9C52A #2AC9C5
tetradic
#C52AC9 #C9762A #2EC92A #2A7DC9
square
#C52AC9 #C9762A #2EC92A #2A7DC9
split-complementary
#C52AC9 #7DC92A #2AC976
monochromatic
#621564 #931F96 #C52AC9 #D855DB #E487E6

Accessibility & contrast

On white

4.62
#C52AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C52AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C52AC9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52AC9#FFFFFF#000000##FFFFFF
##C52AC91.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#557BC5
Tritanopia (blue-blind)
#CB487A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c52ac9;
/* rgb */ color: rgb(197, 42, 201);
/* oklch */ color: oklch(59.5% 0.248 327.0);
Tailwind
colors: {
  custom: {
    50: '#db77da',
    500: '#c52ac9',
    950: '#000000',
  },
}
SCSS
$custom: #c52ac9;
$custom-light: #db77da;
$custom-dark: #000000;
JSON
{
  "hex": "#c52ac9",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 298.491,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.24847,
    "h": 327
  },
  "luminance": 0.17743
}

Semantic roles & 50–950 ramp

primary
#C52AC9
secondary
#81D07F
accent
#E83F44
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #C52AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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