#C528B9#C528B9

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

Color values

HEX#C528B9
RGBrgb(197, 40, 185)
HSLhsl(305, 66%, 46%)
HSVhsv(305, 80%, 77%)
CMYKcmyk(0%, 79.7%, 6.1%, 22.7%)
CIE-LABlab(48.13, 73.38, -41.06)
CIE-LCHlch(48.13, 84.09, 330.77°)
OKLaboklab(58.46% 0.2102 -0.1132)
OKLCHoklch(58.46% 0.239 331.7)
XYZxyz(32.5418, 16.8934, 47.4364)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C528B9 #28C534
analogous
#8328C5 #C528B9 #C5286B
triadic
#C528B9 #B9C528 #28B9C5
tetradic
#C528B9 #C58328 #28C534 #286BC5
square
#C528B9 #C58328 #28C534 #286BC5
split-complementary
#C528B9 #6BC528 #28C583
monochromatic
#5F1359 #921E89 #C528B9 #DB4FD1 #E682DE

Accessibility & contrast

On white

4.80
#C528B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C528B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C528B9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C528B9#FFFFFF#000000##FFFFFF
##C528B91.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1664BD
Deuteranopia (green-blind)
#5E7AB5
Tritanopia (blue-blind)
#CD3E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c528b9;
/* rgb */ color: rgb(197, 40, 185);
/* oklch */ color: oklch(58.5% 0.239 331.7);
Tailwind
colors: {
  custom: {
    50: '#db76ce',
    500: '#c528b9',
    950: '#000000',
  },
}
SCSS
$custom: #c528b9;
$custom-light: #db76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c528b9",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 304.586,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.23876,
    "h": 331.7
  },
  "luminance": 0.16891
}

Semantic roles & 50–950 ramp

primary
#C528B9
secondary
#7ACE81
accent
#E94C3F
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C528B9

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

Preview Lab → · Contrast checker → · Palette generator →

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