#C52BBA#C52BBA

#C52BBA is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.7% C 0.237 H 331.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C52BBA
RGBrgb(197, 43, 186)
HSLhsl(304, 64%, 47%)
HSVhsv(304, 78%, 77%)
CMYKcmyk(0%, 78.2%, 5.6%, 22.7%)
CIE-LABlab(48.44, 72.77, -41.14)
CIE-LCHlch(48.44, 83.59, 330.52°)
OKLaboklab(58.71% 0.208 -0.1134)
OKLCHoklch(58.71% 0.237 331.4)
XYZxyz(32.7528, 17.1460, 48.0293)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52BBA #2BC536
analogous
#832BC5 #C52BBA #C52B6D
triadic
#C52BBA #BAC52B #2BBAC5
tetradic
#C52BBA #C5832B #2BC536 #2B6DC5
square
#C52BBA #C5832B #2BC536 #2B6DC5
split-complementary
#C52BBA #6DC52B #2BC583
monochromatic
#61155B #93208B #C52BBA #DA54D0 #E586DE

Accessibility & contrast

On white

4.74
#C52BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C52BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52BBA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52BBA#FFFFFF#000000##FFFFFF
##C52BBA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BE
Deuteranopia (green-blind)
#5F7AB6
Tritanopia (blue-blind)
#CD4072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52bba;
/* rgb */ color: rgb(197, 43, 186);
/* oklch */ color: oklch(58.7% 0.237 331.4);
Tailwind
colors: {
  custom: {
    50: '#db77cf',
    500: '#c52bba',
    950: '#000000',
  },
}
SCSS
$custom: #c52bba;
$custom-light: #db77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c52bba",
  "rgb": {
    "r": 197,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 304.286,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.23694,
    "h": 331.4
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#C52BBA
secondary
#7ECE84
accent
#E74D41
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A14
muted
#847C82

Preview Lab

Preview with #C52BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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