#C52CB7#C52CB7

#C52CB7 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.234 H 332.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C52CB7
RGBrgb(197, 44, 183)
HSLhsl(305, 63%, 47%)
HSVhsv(305, 78%, 77%)
CMYKcmyk(0%, 77.7%, 7.1%, 22.7%)
CIE-LABlab(48.38, 72.06, -39.49)
CIE-LCHlch(48.38, 82.17, 331.28°)
OKLaboklab(58.61% 0.2072 -0.1087)
OKLCHoklch(58.61% 0.234 332.3)
XYZxyz(32.4740, 17.0933, 46.3796)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52CB7 #2CC53A
analogous
#862CC5 #C52CB7 #C52C6B
triadic
#C52CB7 #B7C52C #2CB7C5
tetradic
#C52CB7 #C5862C #2CC53A #2C6BC5
square
#C52CB7 #C5862C #2CC53A #2C6BC5
split-complementary
#C52CB7 #6BC52C #2CC586
monochromatic
#61165A #932189 #C52CB7 #D955CD #E487DC

Accessibility & contrast

On white

4.75
#C52CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C52CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52CB7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52CB7#FFFFFF#000000##FFFFFF
##C52CB71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BB
Deuteranopia (green-blind)
#617AB3
Tritanopia (blue-blind)
#CE3F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52cb7;
/* rgb */ color: rgb(197, 44, 183);
/* oklch */ color: oklch(58.6% 0.234 332.3);
Tailwind
colors: {
  custom: {
    50: '#db77cd',
    500: '#c52cb7',
    950: '#000000',
  },
}
SCSS
$custom: #c52cb7;
$custom-light: #db77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c52cb7",
  "rgb": {
    "r": 197,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 305.49,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58608,
    "c": 0.23396,
    "h": 332.3
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C52CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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