#C52EB9#C52EB9

#C52EB9 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.9% C 0.234 H 331.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C52EB9
RGBrgb(197, 46, 185)
HSLhsl(305, 62%, 48%)
HSVhsv(305, 77%, 77%)
CMYKcmyk(0%, 76.6%, 6.1%, 22.7%)
CIE-LABlab(48.67, 71.81, -40.19)
CIE-LCHlch(48.67, 82.29, 330.76°)
OKLaboklab(58.85% 0.2057 -0.1107)
OKLCHoklch(58.85% 0.234 331.7)
XYZxyz(32.7600, 17.3298, 47.5091)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52EB9 #2EC53A
analogous
#852EC5 #C52EB9 #C52E6E
triadic
#C52EB9 #B9C52E #2EB9C5
tetradic
#C52EB9 #C5852E #2EC53A #2E6EC5
square
#C52EB9 #C5852E #2EC53A #2E6EC5
split-complementary
#C52EB9 #6EC52E #2EC585
monochromatic
#62175C #93228A #C52EB9 #D858CE #E48ADC

Accessibility & contrast

On white

4.70
#C52EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C52EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52EB9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52EB9#FFFFFF#000000##FFFFFF
##C52EB91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BD
Deuteranopia (green-blind)
#607BB5
Tritanopia (blue-blind)
#CD4172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c52eb9;
/* rgb */ color: rgb(197, 46, 185);
/* oklch */ color: oklch(58.9% 0.234 331.7);
Tailwind
colors: {
  custom: {
    50: '#db78ce',
    500: '#c52eb9',
    950: '#000000',
  },
}
SCSS
$custom: #c52eb9;
$custom-light: #db78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c52eb9",
  "rgb": {
    "r": 197,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 304.768,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58853,
    "c": 0.23356,
    "h": 331.7
  },
  "luminance": 0.17327
}

Semantic roles & 50–950 ramp

primary
#C52EB9
secondary
#81CE87
accent
#E55043
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C52EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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