#C52BB9#C52BB9

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

Color values

HEX#C52BB9
RGBrgb(197, 43, 185)
HSLhsl(305, 64%, 47%)
HSVhsv(305, 78%, 77%)
CMYKcmyk(0%, 78.2%, 6.1%, 22.7%)
CIE-LABlab(48.39, 72.62, -40.64)
CIE-LCHlch(48.39, 83.22, 330.77°)
OKLaboklab(58.65% 0.208 -0.112)
OKLCHoklch(58.65% 0.236 331.7)
XYZxyz(32.6469, 17.1036, 47.4714)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52BB9 #2BC537
analogous
#842BC5 #C52BB9 #C52B6C
triadic
#C52BB9 #B9C52B #2BB9C5
tetradic
#C52BB9 #C5842B #2BC537 #2B6CC5
square
#C52BB9 #C5842B #2BC537 #2B6CC5
split-complementary
#C52BB9 #6CC52B #2BC584
monochromatic
#61155B #93208A #C52BB9 #DA54CF #E586DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C52BB9#FFFFFF#000000##FFFFFF
##C52BB91.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)
#1B65BD
Deuteranopia (green-blind)
#5F7AB5
Tritanopia (blue-blind)
#CD3F72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52bb9;
/* rgb */ color: rgb(197, 43, 185);
/* oklch */ color: oklch(58.7% 0.236 331.7);
Tailwind
colors: {
  custom: {
    50: '#db77ce',
    500: '#c52bb9',
    950: '#000000',
  },
}
SCSS
$custom: #c52bb9;
$custom-light: #db77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c52bb9",
  "rgb": {
    "r": 197,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 304.675,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58651,
    "c": 0.23624,
    "h": 331.7
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#C52BB9
secondary
#7ECE84
accent
#E74E41
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A14
muted
#847C82

Preview Lab

Preview with #C52BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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