#C52EC9#C52EC9

#C52EC9 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.8% C 0.245 H 327.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C52EC9
RGBrgb(197, 46, 201)
HSLhsl(298, 63%, 48%)
HSVhsv(298, 77%, 79%)
CMYKcmyk(2%, 77.1%, 0%, 21.2%)
CIE-LABlab(49.55, 74.28, -48.09)
CIE-LCHlch(49.55, 88.49, 327.08°)
OKLaboklab(59.76% 0.2054 -0.1336)
OKLCHoklch(59.76% 0.245 327)
XYZxyz(34.5450, 18.0438, 56.9103)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52EC9 #32C92E
analogous
#782EC9 #C52EC9 #C92E7F
triadic
#C52EC9 #C9C52E #2EC9C5
tetradic
#C52EC9 #C9782E #32C92E #2E7FC9
square
#C52EC9 #C9782E #32C92E #2E7FC9
split-complementary
#C52EC9 #7FC92E #2EC978
monochromatic
#631765 #942397 #C52EC9 #D65BD9 #E38DE5

Accessibility & contrast

On white

4.56
#C52EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C52EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C52EC9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52EC9#FFFFFF#000000##000000
##C52EC91.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#CB4A7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c52ec9;
/* rgb */ color: rgb(197, 46, 201);
/* oklch */ color: oklch(59.8% 0.245 327.0);
Tailwind
colors: {
  custom: {
    50: '#db79da',
    500: '#c52ec9',
    950: '#000000',
  },
}
SCSS
$custom: #c52ec9;
$custom-light: #db79da;
$custom-dark: #000000;
JSON
{
  "hex": "#c52ec9",
  "rgb": {
    "r": 197,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 298.452,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.24508,
    "h": 327
  },
  "luminance": 0.18041
}

Semantic roles & 50–950 ramp

primary
#C52EC9
secondary
#86CF84
accent
#E64246
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#150A15
muted
#847C83

Preview Lab

Preview with #C52EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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