#C52FC2#C52FC2

#C52FC2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.4% C 0.239 H 329.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C52FC2
RGBrgb(197, 47, 194)
HSLhsl(301, 61%, 48%)
HSVhsv(301, 76%, 77%)
CMYKcmyk(0%, 76.1%, 1.5%, 22.7%)
CIE-LABlab(49.25, 72.90, -44.51)
CIE-LCHlch(49.25, 85.41, 328.60°)
OKLaboklab(59.42% 0.2049 -0.1232)
OKLCHoklch(59.42% 0.239 329)
XYZxyz(33.7798, 17.8010, 52.6853)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FC2 #2FC532
analogous
#7D2FC5 #C52FC2 #C52F77
triadic
#C52FC2 #C2C52F #2FC2C5
tetradic
#C52FC2 #C57D2F #2FC532 #2F77C5
square
#C52FC2 #C57D2F #2FC532 #2F77C5
split-complementary
#C52FC2 #77C52F #2FC57D
monochromatic
#621761 #942391 #C52FC2 #D85AD5 #E38BE2

Accessibility & contrast

On white

4.61
#C52FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C52FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C52FC2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FC2#FFFFFF#000000##FFFFFF
##C52FC21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E68C6
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#CC4778
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c52fc2;
/* rgb */ color: rgb(197, 47, 194);
/* oklch */ color: oklch(59.4% 0.239 329.0);
Tailwind
colors: {
  custom: {
    50: '#db79d5',
    500: '#c52fc2',
    950: '#000000',
  },
}
SCSS
$custom: #c52fc2;
$custom-light: #db79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fc2",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 301.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.23907,
    "h": 329
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#C52FC2
secondary
#82CD84
accent
#E54643
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C52FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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