#C52BB5#C52BB5

#C52BB5 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.233 H 333.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C52BB5
RGBrgb(197, 43, 181)
HSLhsl(306, 64%, 47%)
HSVhsv(306, 78%, 77%)
CMYKcmyk(0%, 78.2%, 8.1%, 22.7%)
CIE-LABlab(48.18, 72.03, -38.63)
CIE-LCHlch(48.18, 81.73, 331.80°)
OKLaboklab(58.43% 0.2079 -0.1062)
OKLCHoklch(58.43% 0.233 333)
XYZxyz(32.2305, 16.9371, 45.2788)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52BB5 #2BC53B
analogous
#882BC5 #C52BB5 #C52B68
triadic
#C52BB5 #B5C52B #2BB5C5
tetradic
#C52BB5 #C5882B #2BC53B #2B68C5
square
#C52BB5 #C5882B #2BC53B #2B68C5
split-complementary
#C52BB5 #68C52B #2BC588
monochromatic
#611559 #932087 #C52BB5 #DA54CC #E586DB

Accessibility & contrast

On white

4.79
#C52BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C52BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52BB5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52BB5#FFFFFF#000000##FFFFFF
##C52BB51.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B9
Deuteranopia (green-blind)
#617AB1
Tritanopia (blue-blind)
#CE3D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c52bb5;
/* rgb */ color: rgb(197, 43, 181);
/* oklch */ color: oklch(58.4% 0.233 333.0);
Tailwind
colors: {
  custom: {
    50: '#db77cb',
    500: '#c52bb5',
    950: '#000000',
  },
}
SCSS
$custom: #c52bb5;
$custom-light: #db77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c52bb5",
  "rgb": {
    "r": 197,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 306.234,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58434,
    "c": 0.23347,
    "h": 333
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#C52BB5
secondary
#7ECE86
accent
#E75241
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#150A13
muted
#847C82

Preview Lab

Preview with #C52BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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