#C52BCA#C52BCA

#C52BCA is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.6% C 0.248 H 326.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C52BCA
RGBrgb(197, 43, 202)
HSLhsl(298, 65%, 48%)
HSVhsv(298, 79%, 79%)
CMYKcmyk(2.5%, 78.7%, 0%, 20.8%)
CIE-LABlab(49.33, 75.24, -49.01)
CIE-LCHlch(49.33, 89.79, 326.92°)
OKLaboklab(59.62% 0.2076 -0.1363)
OKLCHoklch(59.62% 0.248 326.7)
XYZxyz(34.5499, 17.8648, 57.4942)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52BCA #30CA2B
analogous
#752BCA #C52BCA #CA2B7F
triadic
#C52BCA #CAC52B #2BCAC5
tetradic
#C52BCA #CA752B #30CA2B #2B7FCA
square
#C52BCA #CA752B #30CA2B #2B7FCA
split-complementary
#C52BCA #7FCA2B #2BCA75
monochromatic
#631665 #942098 #C52BCA #D757DB #E389E6

Accessibility & contrast

On white

4.59
#C52BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C52BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C52BCA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52BCA#FFFFFF#000000##FFFFFF
##C52BCA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#557CC6
Tritanopia (blue-blind)
#CA497B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c52bca;
/* rgb */ color: rgb(197, 43, 202);
/* oklch */ color: oklch(59.6% 0.248 326.7);
Tailwind
colors: {
  custom: {
    50: '#db78db',
    500: '#c52bca',
    950: '#000000',
  },
}
SCSS
$custom: #c52bca;
$custom-light: #db78db;
$custom-dark: #000000;
JSON
{
  "hex": "#c52bca",
  "rgb": {
    "r": 197,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 298.113,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59624,
    "c": 0.24837,
    "h": 326.7
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#C52BCA
secondary
#84D081
accent
#E84045
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #C52BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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