#C52ABA#C52ABA

#C52ABA is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.238 H 331.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C52ABA
RGBrgb(197, 42, 186)
HSLhsl(304, 65%, 47%)
HSVhsv(304, 79%, 77%)
CMYKcmyk(0%, 78.7%, 5.6%, 22.7%)
CIE-LABlab(48.35, 73.03, -41.28)
CIE-LCHlch(48.35, 83.89, 330.52°)
OKLaboklab(58.64% 0.2088 -0.1138)
OKLCHoklch(58.64% 0.238 331.4)
XYZxyz(32.7169, 17.0741, 48.0174)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52ABA #2AC535
analogous
#832AC5 #C52ABA #C52A6D
triadic
#C52ABA #BAC52A #2ABAC5
tetradic
#C52ABA #C5832A #2AC535 #2A6DC5
square
#C52ABA #C5832A #2AC535 #2A6DC5
split-complementary
#C52ABA #6DC52A #2AC583
monochromatic
#60145B #931F8A #C52ABA #DA52D0 #E585DE

Accessibility & contrast

On white

4.76
#C52ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C52ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52ABA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52ABA#FFFFFF#000000##FFFFFF
##C52ABA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BE
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#CD3F72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52aba;
/* rgb */ color: rgb(197, 42, 186);
/* oklch */ color: oklch(58.6% 0.238 331.4);
Tailwind
colors: {
  custom: {
    50: '#db76cf',
    500: '#c52aba',
    950: '#000000',
  },
}
SCSS
$custom: #c52aba;
$custom-light: #db76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c52aba",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 304.258,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.23779,
    "h": 331.4
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#C52ABA
secondary
#7DCE82
accent
#E84C40
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A14
muted
#847C82

Preview Lab

Preview with #C52ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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