#C52BB7#C52BB7

#C52BB7 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.235 H 332.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C52BB7
RGBrgb(197, 43, 183)
HSLhsl(305, 64%, 47%)
HSVhsv(305, 78%, 77%)
CMYKcmyk(0%, 78.2%, 7.1%, 22.7%)
CIE-LABlab(48.28, 72.32, -39.63)
CIE-LCHlch(48.28, 82.47, 331.28°)
OKLaboklab(58.54% 0.208 -0.1091)
OKLCHoklch(58.54% 0.235 332.3)
XYZxyz(32.4372, 17.0197, 46.3673)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52BB7 #2BC539
analogous
#862BC5 #C52BB7 #C52B6A
triadic
#C52BB7 #B7C52B #2BB7C5
tetradic
#C52BB7 #C5862B #2BC539 #2B6AC5
square
#C52BB7 #C5862B #2BC539 #2B6AC5
split-complementary
#C52BB7 #6AC52B #2BC586
monochromatic
#61155A #932088 #C52BB7 #DA54CD #E586DC

Accessibility & contrast

On white

4.77
#C52BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C52BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52BB7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52BB7#FFFFFF#000000##FFFFFF
##C52BB71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BB
Deuteranopia (green-blind)
#607AB3
Tritanopia (blue-blind)
#CE3E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52bb7;
/* rgb */ color: rgb(197, 43, 183);
/* oklch */ color: oklch(58.5% 0.235 332.3);
Tailwind
colors: {
  custom: {
    50: '#db77cd',
    500: '#c52bb7',
    950: '#000000',
  },
}
SCSS
$custom: #c52bb7;
$custom-light: #db77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c52bb7",
  "rgb": {
    "r": 197,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 305.455,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58542,
    "c": 0.23485,
    "h": 332.3
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C52BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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