#C52FB9#C52FB9

#C52FB9 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.9% C 0.233 H 331.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C52FB9
RGBrgb(197, 47, 185)
HSLhsl(305, 61%, 48%)
HSVhsv(305, 76%, 77%)
CMYKcmyk(0%, 76.1%, 6.1%, 22.7%)
CIE-LABlab(48.77, 71.52, -40.03)
CIE-LCHlch(48.77, 81.96, 330.76°)
OKLaboklab(58.92% 0.2048 -0.1103)
OKLCHoklch(58.92% 0.233 331.7)
XYZxyz(32.7995, 17.4089, 47.5223)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FB9 #2FC53B
analogous
#862FC5 #C52FB9 #C52F6E
triadic
#C52FB9 #B9C52F #2FB9C5
tetradic
#C52FB9 #C5862F #2FC53B #2F6EC5
square
#C52FB9 #C5862F #2FC53B #2F6EC5
split-complementary
#C52FB9 #6EC52F #2FC586
monochromatic
#62175C #94238B #C52FB9 #D85ACD #E38BDC

Accessibility & contrast

On white

4.69
#C52FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C52FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52FB9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FB9#FFFFFF#000000##FFFFFF
##C52FB91.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BD
Deuteranopia (green-blind)
#617BB5
Tritanopia (blue-blind)
#CD4272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c52fb9;
/* rgb */ color: rgb(197, 47, 185);
/* oklch */ color: oklch(58.9% 0.233 331.7);
Tailwind
colors: {
  custom: {
    50: '#db78ce',
    500: '#c52fb9',
    950: '#000000',
  },
}
SCSS
$custom: #c52fb9;
$custom-light: #db78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fb9",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 304.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58924,
    "c": 0.23263,
    "h": 331.7
  },
  "luminance": 0.17406
}

Semantic roles & 50–950 ramp

primary
#C52FB9
secondary
#82CD88
accent
#E55043
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C52FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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