#C52CB8#C52CB8

#C52CB8 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.7% C 0.235 H 332.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C52CB8
RGBrgb(197, 44, 184)
HSLhsl(305, 63%, 47%)
HSVhsv(305, 78%, 77%)
CMYKcmyk(0%, 77.7%, 6.6%, 22.7%)
CIE-LABlab(48.43, 72.20, -39.99)
CIE-LCHlch(48.43, 82.54, 331.02°)
OKLaboklab(58.66% 0.2072 -0.1101)
OKLCHoklch(58.66% 0.235 332)
XYZxyz(32.5785, 17.1351, 46.9297)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52CB8 #2CC539
analogous
#862CC5 #C52CB8 #C52C6C
triadic
#C52CB8 #B8C52C #2CB8C5
tetradic
#C52CB8 #C5862C #2CC539 #2C6CC5
square
#C52CB8 #C5862C #2CC539 #2C6CC5
split-complementary
#C52CB8 #6CC52C #2CC586
monochromatic
#61165B #932189 #C52CB8 #D955CE #E487DC

Accessibility & contrast

On white

4.74
#C52CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C52CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52CB8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52CB8#FFFFFF#000000##FFFFFF
##C52CB81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BC
Deuteranopia (green-blind)
#607AB4
Tritanopia (blue-blind)
#CD3F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52cb8;
/* rgb */ color: rgb(197, 44, 184);
/* oklch */ color: oklch(58.7% 0.235 332.0);
Tailwind
colors: {
  custom: {
    50: '#db77ce',
    500: '#c52cb8',
    950: '#000000',
  },
}
SCSS
$custom: #c52cb8;
$custom-light: #db77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c52cb8",
  "rgb": {
    "r": 197,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 305.098,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.23466,
    "h": 332
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#C52CB8
secondary
#7FCE86
accent
#E74F41
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A13
muted
#847C82

Preview Lab

Preview with #C52CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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