#C52FAE#C52FAE

#C52FAE is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.225 H 335.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C52FAE
RGBrgb(197, 47, 174)
HSLhsl(309, 61%, 48%)
HSVhsv(309, 76%, 77%)
CMYKcmyk(0%, 76.1%, 11.7%, 22.7%)
CIE-LABlab(48.21, 69.91, -34.46)
CIE-LCHlch(48.21, 77.94, 333.76°)
OKLaboklab(58.34% 0.2043 -0.0942)
OKLCHoklch(58.34% 0.225 335.2)
XYZxyz(31.6829, 16.9622, 41.6416)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FAE #2FC546
analogous
#912FC5 #C52FAE #C52F63
triadic
#C52FAE #AEC52F #2FAEC5
tetradic
#C52FAE #C5912F #2FC546 #2F63C5
square
#C52FAE #C5912F #2FC546 #2F63C5
split-complementary
#C52FAE #63C52F #2FC591
monochromatic
#621757 #942382 #C52FAE #D85AC4 #E38BD6

Accessibility & contrast

On white

4.78
#C52FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52FAE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FAE#FFFFFF#000000##FFFFFF
##C52FAE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#667AAB
Tritanopia (blue-blind)
#CF3C6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c52fae;
/* rgb */ color: rgb(197, 47, 174);
/* oklch */ color: oklch(58.3% 0.225 335.2);
Tailwind
colors: {
  custom: {
    50: '#db78c6',
    500: '#c52fae',
    950: '#000000',
  },
}
SCSS
$custom: #c52fae;
$custom-light: #db78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fae",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 309.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.225,
    "h": 335.2
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#C52FAE
secondary
#82CD8E
accent
#E55C43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C52FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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