#C52DC2#C52DC2

#C52DC2 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.3% C 0.241 H 329.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C52DC2
RGBrgb(197, 45, 194)
HSLhsl(301, 63%, 47%)
HSVhsv(301, 77%, 77%)
CMYKcmyk(0%, 77.2%, 1.5%, 22.7%)
CIE-LABlab(49.06, 73.45, -44.81)
CIE-LCHlch(49.06, 86.04, 328.61°)
OKLaboklab(59.29% 0.2064 -0.1241)
OKLCHoklch(59.29% 0.241 329)
XYZxyz(33.7017, 17.6447, 52.6592)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52DC2 #2DC530
analogous
#7C2DC5 #C52DC2 #C52D76
triadic
#C52DC2 #C2C52D #2DC2C5
tetradic
#C52DC2 #C57C2D #2DC530 #2D76C5
square
#C52DC2 #C57C2D #2DC530 #2D76C5
split-complementary
#C52DC2 #76C52D #2DC57C
monochromatic
#611660 #932291 #C52DC2 #D957D6 #E488E2

Accessibility & contrast

On white

4.64
#C52DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C52DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C52DC2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52DC2#FFFFFF#000000##FFFFFF
##C52DC21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0768C6
Deuteranopia (green-blind)
#5B7BBE
Tritanopia (blue-blind)
#CC4577
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c52dc2;
/* rgb */ color: rgb(197, 45, 194);
/* oklch */ color: oklch(59.3% 0.241 329.0);
Tailwind
colors: {
  custom: {
    50: '#db78d5',
    500: '#c52dc2',
    950: '#000000',
  },
}
SCSS
$custom: #c52dc2;
$custom-light: #db78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c52dc2",
  "rgb": {
    "r": 197,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 301.184,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59288,
    "c": 0.24087,
    "h": 329
  },
  "luminance": 0.17642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C52DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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