#C52FC8#C52FC8

#C52FC8 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.8% C 0.243 H 327.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C52FC8
RGBrgb(197, 47, 200)
HSLhsl(299, 62%, 48%)
HSVhsv(299, 77%, 78%)
CMYKcmyk(1.5%, 76.5%, 0%, 21.6%)
CIE-LABlab(49.59, 73.85, -47.45)
CIE-LCHlch(49.59, 87.78, 327.28°)
OKLaboklab(59.77% 0.2047 -0.1318)
OKLCHoklch(59.77% 0.243 327.2)
XYZxyz(34.4673, 18.0760, 56.3060)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FC8 #32C82F
analogous
#792FC8 #C52FC8 #C82F7E
triadic
#C52FC8 #C8C52F #2FC8C5
tetradic
#C52FC8 #C8792F #32C82F #2F7EC8
square
#C52FC8 #C8792F #32C82F #2F7EC8
split-complementary
#C52FC8 #7EC82F #2FC879
monochromatic
#631865 #942396 #C52FC8 #D65CD9 #E38DE4

Accessibility & contrast

On white

4.55
#C52FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C52FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C52FC8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FC8#FFFFFF#000000##000000
##C52FC81.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#587CC4
Tritanopia (blue-blind)
#CB4A7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c52fc8;
/* rgb */ color: rgb(197, 47, 200);
/* oklch */ color: oklch(59.8% 0.243 327.2);
Tailwind
colors: {
  custom: {
    50: '#db79d9',
    500: '#c52fc8',
    950: '#000000',
  },
}
SCSS
$custom: #c52fc8;
$custom-light: #db79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fc8",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 298.824,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5977,
    "c": 0.24346,
    "h": 327.2
  },
  "luminance": 0.18073
}

Semantic roles & 50–950 ramp

primary
#C52FC8
secondary
#86CF84
accent
#E54346
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#150A15
muted
#847C83

Preview Lab

Preview with #C52FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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