#C528BA#C528BA

#C528BA is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.5% C 0.239 H 331.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C528BA
RGBrgb(197, 40, 186)
HSLhsl(304, 66%, 46%)
HSVhsv(304, 80%, 77%)
CMYKcmyk(0%, 79.7%, 5.6%, 22.7%)
CIE-LABlab(48.18, 73.53, -41.56)
CIE-LCHlch(48.18, 84.46, 330.53°)
OKLaboklab(58.52% 0.2102 -0.1146)
OKLCHoklch(58.52% 0.239 331.4)
XYZxyz(32.6477, 16.9358, 47.9943)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C528BA #28C533
analogous
#8228C5 #C528BA #C5286C
triadic
#C528BA #BAC528 #28BAC5
tetradic
#C528BA #C58228 #28C533 #286CC5
square
#C528BA #C58228 #28C533 #286CC5
split-complementary
#C528BA #6CC528 #28C582
monochromatic
#5F135A #921E8A #C528BA #DB4FD1 #E682DF

Accessibility & contrast

On white

4.79
#C528BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C528BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C528BA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C528BA#FFFFFF#000000##FFFFFF
##C528BA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BE
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#CD3E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c528ba;
/* rgb */ color: rgb(197, 40, 186);
/* oklch */ color: oklch(58.5% 0.239 331.4);
Tailwind
colors: {
  custom: {
    50: '#db76cf',
    500: '#c528ba',
    950: '#000000',
  },
}
SCSS
$custom: #c528ba;
$custom-light: #db76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c528ba",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 304.204,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58518,
    "c": 0.23946,
    "h": 331.4
  },
  "luminance": 0.16933
}

Semantic roles & 50–950 ramp

primary
#C528BA
secondary
#7ACE80
accent
#E94B3F
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C528BA

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

Preview Lab → · Contrast checker → · Palette generator →

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