#C52FB0#C52FB0

#C52FB0 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.226 H 334.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C52FB0
RGBrgb(197, 47, 176)
HSLhsl(308, 61%, 48%)
HSVhsv(308, 76%, 77%)
CMYKcmyk(0%, 76.1%, 10.7%, 22.7%)
CIE-LABlab(48.31, 70.19, -35.48)
CIE-LCHlch(48.31, 78.65, 333.18°)
OKLaboklab(58.45% 0.2045 -0.0971)
OKLCHoklch(58.45% 0.226 334.6)
XYZxyz(31.8793, 17.0408, 42.6761)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FB0 #2FC544
analogous
#8F2FC5 #C52FB0 #C52F65
triadic
#C52FB0 #B0C52F #2FB0C5
tetradic
#C52FB0 #C58F2F #2FC544 #2F65C5
square
#C52FB0 #C58F2F #2FC544 #2F65C5
split-complementary
#C52FB0 #65C52F #2FC58F
monochromatic
#621758 #942384 #C52FB0 #D85AC6 #E38BD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C52FB0#FFFFFF#000000##FFFFFF
##C52FB01.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)
#2D65B3
Deuteranopia (green-blind)
#657AAD
Tritanopia (blue-blind)
#CF3D6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52fb0;
/* rgb */ color: rgb(197, 47, 176);
/* oklch */ color: oklch(58.4% 0.226 334.6);
Tailwind
colors: {
  custom: {
    50: '#db78c8',
    500: '#c52fb0',
    950: '#000000',
  },
}
SCSS
$custom: #c52fb0;
$custom-light: #db78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fb0",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 308.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.22636,
    "h": 334.6
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#C52FB0
secondary
#82CD8D
accent
#E55A43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C52FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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