#C52EBB#C52EBB

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

Color values

HEX#C52EBB
RGBrgb(197, 46, 187)
HSLhsl(304, 62%, 48%)
HSVhsv(304, 77%, 77%)
CMYKcmyk(0%, 76.6%, 5.1%, 22.7%)
CIE-LABlab(48.78, 72.11, -41.19)
CIE-LCHlch(48.78, 83.04, 330.26°)
OKLaboklab(58.96% 0.2057 -0.1136)
OKLCHoklch(58.96% 0.235 331.1)
XYZxyz(32.9726, 17.4149, 48.6289)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52EBB #2EC538
analogous
#842EC5 #C52EBB #C52E6F
triadic
#C52EBB #BBC52E #2EBBC5
tetradic
#C52EBB #C5842E #2EC538 #2E6FC5
square
#C52EBB #C5842E #2EC538 #2E6FC5
split-complementary
#C52EBB #6FC52E #2EC584
monochromatic
#62175D #93228C #C52EBB #D858D0 #E48ADE

Accessibility & contrast

On white

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

On black

4.48
#C52EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C52EBB#FFFFFF#000000##FFFFFF
##C52EBB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#5F7BB7
Tritanopia (blue-blind)
#CD4273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c52ebb;
/* rgb */ color: rgb(197, 46, 187);
/* oklch */ color: oklch(59.0% 0.235 331.1);
Tailwind
colors: {
  custom: {
    50: '#db78d0',
    500: '#c52ebb',
    950: '#000000',
  },
}
SCSS
$custom: #c52ebb;
$custom-light: #db78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c52ebb",
  "rgb": {
    "r": 197,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 303.974,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.23497,
    "h": 331.1
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#C52EBB
secondary
#81CE86
accent
#E54D43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C52EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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