#C52DCA#C52DCA

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

Color values

HEX#C52DCA
RGBrgb(197, 45, 202)
HSLhsl(298, 64%, 48%)
HSVhsv(298, 78%, 79%)
CMYKcmyk(2.5%, 77.7%, 0%, 20.8%)
CIE-LABlab(49.51, 74.71, -48.72)
CIE-LCHlch(49.51, 89.20, 326.89°)
OKLaboklab(59.75% 0.2062 -0.1355)
OKLCHoklch(59.75% 0.247 326.7)
XYZxyz(34.6244, 18.0138, 57.5190)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52DCA #32CA2D
analogous
#762DCA #C52DCA #CA2D80
triadic
#C52DCA #CAC52D #2DCAC5
tetradic
#C52DCA #CA762D #32CA2D #2D80CA
square
#C52DCA #CA762D #32CA2D #2D80CA
split-complementary
#C52DCA #80CA2D #2DCA76
monochromatic
#631766 #942298 #C52DCA #D65ADA #E38CE5

Accessibility & contrast

On white

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

On black

4.60
#C52DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C52DCA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52DCA#FFFFFF#000000##000000
##C52DCA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#CA4A7C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c52dca;
/* rgb */ color: rgb(197, 45, 202);
/* oklch */ color: oklch(59.8% 0.247 326.7);
Tailwind
colors: {
  custom: {
    50: '#db78db',
    500: '#c52dca',
    950: '#000000',
  },
}
SCSS
$custom: #c52dca;
$custom-light: #db78db;
$custom-dark: #000000;
JSON
{
  "hex": "#c52dca",
  "rgb": {
    "r": 197,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 298.089,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.24669,
    "h": 326.7
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#C52DCA
secondary
#86CF83
accent
#E74146
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#150A15
muted
#847C83

Preview Lab

Preview with #C52DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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