#C52FCA#C52FCA

#C52FCA is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.9% C 0.245 H 326.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C52FCA
RGBrgb(197, 47, 202)
HSLhsl(298, 62%, 49%)
HSVhsv(298, 77%, 79%)
CMYKcmyk(2.5%, 76.7%, 0%, 20.8%)
CIE-LABlab(49.70, 74.17, -48.42)
CIE-LCHlch(49.70, 88.57, 326.86°)
OKLaboklab(59.89% 0.2046 -0.1346)
OKLCHoklch(59.89% 0.245 326.7)
XYZxyz(34.7025, 18.1701, 57.5451)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FCA #34CA2F
analogous
#782FCA #C52FCA #CA2F81
triadic
#C52FCA #CAC52F #2FCAC5
tetradic
#C52FCA #CA782F #34CA2F #2F81CA
square
#C52FCA #CA782F #34CA2F #2F81CA
split-complementary
#C52FCA #81CA2F #2FCA78
monochromatic
#641867 #952398 #C52FCA #D55DD9 #E28FE5

Accessibility & contrast

On white

4.53
#C52FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C52FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C52FCA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FCA#FFFFFF#000000##000000
##C52FCA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#577DC6
Tritanopia (blue-blind)
#CA4B7C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c52fca;
/* rgb */ color: rgb(197, 47, 202);
/* oklch */ color: oklch(59.9% 0.245 326.7);
Tailwind
colors: {
  custom: {
    50: '#db79db',
    500: '#c52fca',
    950: '#000000',
  },
}
SCSS
$custom: #c52fca;
$custom-light: #db79db;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fca",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 298.065,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59887,
    "c": 0.24493,
    "h": 326.7
  },
  "luminance": 0.18168
}

Semantic roles & 50–950 ramp

primary
#C52FCA
secondary
#88CF86
accent
#E54248
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#150A15
muted
#847C83

Preview Lab

Preview with #C52FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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