#C52BB8#C52BB8

#C52BB8 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.236 H 332.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C52BB8
RGBrgb(197, 43, 184)
HSLhsl(305, 64%, 47%)
HSVhsv(305, 78%, 77%)
CMYKcmyk(0%, 78.2%, 6.6%, 22.7%)
CIE-LABlab(48.34, 72.47, -40.14)
CIE-LCHlch(48.34, 82.84, 331.02°)
OKLaboklab(58.6% 0.208 -0.1105)
OKLCHoklch(58.6% 0.236 332)
XYZxyz(32.5417, 17.0615, 46.9174)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52BB8 #2BC538
analogous
#852BC5 #C52BB8 #C52B6B
triadic
#C52BB8 #B8C52B #2BB8C5
tetradic
#C52BB8 #C5852B #2BC538 #2B6BC5
square
#C52BB8 #C5852B #2BC538 #2B6BC5
split-complementary
#C52BB8 #6BC52B #2BC585
monochromatic
#61155A #932089 #C52BB8 #DA54CE #E586DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C52BB8#FFFFFF#000000##FFFFFF
##C52BB81.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)
#1D65BC
Deuteranopia (green-blind)
#607AB4
Tritanopia (blue-blind)
#CD3F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52bb8;
/* rgb */ color: rgb(197, 43, 184);
/* oklch */ color: oklch(58.6% 0.236 332.0);
Tailwind
colors: {
  custom: {
    50: '#db77ce',
    500: '#c52bb8',
    950: '#000000',
  },
}
SCSS
$custom: #c52bb8;
$custom-light: #db77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c52bb8",
  "rgb": {
    "r": 197,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 305.065,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58597,
    "c": 0.23554,
    "h": 332
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#C52BB8
secondary
#7ECE85
accent
#E74F41
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A13
muted
#847C82

Preview Lab

Preview with #C52BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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