#C52FB6#C52FB6

#C52FB6 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.8% C 0.231 H 332.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C52FB6
RGBrgb(197, 47, 182)
HSLhsl(306, 61%, 48%)
HSVhsv(306, 76%, 77%)
CMYKcmyk(0%, 76.1%, 7.6%, 22.7%)
CIE-LABlab(48.62, 71.07, -38.53)
CIE-LCHlch(48.62, 80.84, 331.54°)
OKLaboklab(58.76% 0.2047 -0.1059)
OKLCHoklch(58.76% 0.231 332.6)
XYZxyz(32.4861, 17.2835, 45.8720)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FB6 #2FC53E
analogous
#892FC5 #C52FB6 #C52F6B
triadic
#C52FB6 #B6C52F #2FB6C5
tetradic
#C52FB6 #C5892F #2FC53E #2F6BC5
square
#C52FB6 #C5892F #2FC53E #2F6BC5
split-complementary
#C52FB6 #6BC52F #2FC589
monochromatic
#62175B #942388 #C52FB6 #D85ACB #E38BDB

Accessibility & contrast

On white

4.71
#C52FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C52FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52FB6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FB6#FFFFFF#000000##FFFFFF
##C52FB61.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666BA
Deuteranopia (green-blind)
#627BB2
Tritanopia (blue-blind)
#CE4071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52fb6;
/* rgb */ color: rgb(197, 47, 182);
/* oklch */ color: oklch(58.8% 0.231 332.6);
Tailwind
colors: {
  custom: {
    50: '#db78cc',
    500: '#c52fb6',
    950: '#000000',
  },
}
SCSS
$custom: #c52fb6;
$custom-light: #db78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fb6",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 306,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.23051,
    "h": 332.6
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#C52FB6
secondary
#82CD8A
accent
#E55343
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C52FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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