#C52FB5#C52FB5

#C52FB5 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.7% C 0.230 H 333.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C52FB5
RGBrgb(197, 47, 181)
HSLhsl(306, 61%, 48%)
HSVhsv(306, 76%, 77%)
CMYKcmyk(0%, 76.1%, 8.1%, 22.7%)
CIE-LABlab(48.56, 70.93, -38.02)
CIE-LCHlch(48.56, 80.47, 331.81°)
OKLaboklab(58.71% 0.2047 -0.1044)
OKLCHoklch(58.71% 0.23 333)
XYZxyz(32.3832, 17.2423, 45.3297)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FB5 #2FC53F
analogous
#8A2FC5 #C52FB5 #C52F6A
triadic
#C52FB5 #B5C52F #2FB5C5
tetradic
#C52FB5 #C58A2F #2FC53F #2F6AC5
square
#C52FB5 #C58A2F #2FC53F #2F6AC5
split-complementary
#C52FB5 #6AC52F #2FC58A
monochromatic
#62175A #942388 #C52FB5 #D85ACA #E38BDA

Accessibility & contrast

On white

4.72
#C52FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C52FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52FB5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FB5#FFFFFF#000000##FFFFFF
##C52FB51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766B9
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#CE4070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52fb5;
/* rgb */ color: rgb(197, 47, 181);
/* oklch */ color: oklch(58.7% 0.230 333.0);
Tailwind
colors: {
  custom: {
    50: '#db78cb',
    500: '#c52fb5',
    950: '#000000',
  },
}
SCSS
$custom: #c52fb5;
$custom-light: #db78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fb5",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 306.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.22981,
    "h": 333
  },
  "luminance": 0.1724
}

Semantic roles & 50–950 ramp

primary
#C52FB5
secondary
#82CD8A
accent
#E55443
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C52FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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