#C52FC3#C52FC3

#C52FC3 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.5% C 0.240 H 328.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C52FC3
RGBrgb(197, 47, 195)
HSLhsl(301, 61%, 48%)
HSVhsv(301, 76%, 77%)
CMYKcmyk(0%, 76.1%, 1%, 22.7%)
CIE-LABlab(49.31, 73.06, -45.00)
CIE-LCHlch(49.31, 85.81, 328.37°)
OKLaboklab(59.48% 0.2049 -0.1247)
OKLCHoklch(59.48% 0.24 328.7)
XYZxyz(33.8925, 17.8460, 53.2787)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FC3 #2FC531
analogous
#7C2FC5 #C52FC3 #C52F78
triadic
#C52FC3 #C3C52F #2FC3C5
tetradic
#C52FC3 #C57C2F #2FC531 #2F78C5
square
#C52FC3 #C57C2F #2FC531 #2F78C5
split-complementary
#C52FC3 #78C52F #2FC57C
monochromatic
#621761 #942392 #C52FC3 #D85AD6 #E38BE2

Accessibility & contrast

On white

4.60
#C52FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52FC3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FC3#FFFFFF#000000##FFFFFF
##C52FC31.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A69C7
Deuteranopia (green-blind)
#5B7CBF
Tritanopia (blue-blind)
#CC4778
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c52fc3;
/* rgb */ color: rgb(197, 47, 195);
/* oklch */ color: oklch(59.5% 0.240 328.7);
Tailwind
colors: {
  custom: {
    50: '#db79d6',
    500: '#c52fc3',
    950: '#000000',
  },
}
SCSS
$custom: #c52fc3;
$custom-light: #db79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fc3",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 300.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59481,
    "c": 0.2398,
    "h": 328.7
  },
  "luminance": 0.17843
}

Semantic roles & 50–950 ramp

primary
#C52FC3
secondary
#82CD83
accent
#E54543
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C52FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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