#C52CBF#C52CBF

#C52CBF is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.1% C 0.240 H 329.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C52CBF
RGBrgb(197, 44, 191)
HSLhsl(302, 63%, 47%)
HSVhsv(302, 78%, 77%)
CMYKcmyk(0%, 77.7%, 3%, 22.7%)
CIE-LABlab(48.80, 73.26, -43.48)
CIE-LCHlch(48.80, 85.19, 329.31°)
OKLaboklab(59.05% 0.2073 -0.1202)
OKLCHoklch(59.05% 0.24 329.9)
XYZxyz(33.3304, 17.4359, 50.8901)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52CBF #2CC532
analogous
#7F2CC5 #C52CBF #C52C73
triadic
#C52CBF #BFC52C #2CBFC5
tetradic
#C52CBF #C57F2C #2CC532 #2C73C5
square
#C52CBF #C57F2C #2CC532 #2C73C5
split-complementary
#C52CBF #73C52C #2CC57F
monochromatic
#61165E #93218E #C52CBF #D955D4 #E487E1

Accessibility & contrast

On white

4.68
#C52CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C52CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52CBF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52CBF#FFFFFF#000000##FFFFFF
##C52CBF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#5C7BBB
Tritanopia (blue-blind)
#CC4375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c52cbf;
/* rgb */ color: rgb(197, 44, 191);
/* oklch */ color: oklch(59.1% 0.240 329.9);
Tailwind
colors: {
  custom: {
    50: '#db77d3',
    500: '#c52cbf',
    950: '#000000',
  },
}
SCSS
$custom: #c52cbf;
$custom-light: #db77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c52cbf",
  "rgb": {
    "r": 197,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 302.353,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.59051,
    "c": 0.2396,
    "h": 329.9
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

primary
#C52CBF
secondary
#7FCE82
accent
#E74841
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#150A14
muted
#847C83

Preview Lab

Preview with #C52CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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