#C528B7#C528B7

#C528B7 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.4% C 0.237 H 332.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C528B7
RGBrgb(197, 40, 183)
HSLhsl(305, 66%, 46%)
HSVhsv(305, 80%, 77%)
CMYKcmyk(0%, 79.7%, 7.1%, 22.7%)
CIE-LABlab(48.02, 73.09, -40.05)
CIE-LCHlch(48.02, 83.34, 331.28°)
OKLaboklab(58.35% 0.2102 -0.1103)
OKLCHoklch(58.35% 0.237 332.3)
XYZxyz(32.3321, 16.8096, 46.3323)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C528B7 #28C536
analogous
#8528C5 #C528B7 #C52869
triadic
#C528B7 #B7C528 #28B7C5
tetradic
#C528B7 #C58528 #28C536 #2869C5
square
#C528B7 #C58528 #28C536 #2869C5
split-complementary
#C528B7 #69C528 #28C585
monochromatic
#5F1358 #921E88 #C528B7 #DB4FCF #E682DD

Accessibility & contrast

On white

4.81
#C528B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C528B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C528B7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C528B7#FFFFFF#000000##FFFFFF
##C528B71.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A64BB
Deuteranopia (green-blind)
#5F7AB3
Tritanopia (blue-blind)
#CE3C70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c528b7;
/* rgb */ color: rgb(197, 40, 183);
/* oklch */ color: oklch(58.4% 0.237 332.3);
Tailwind
colors: {
  custom: {
    50: '#db76cd',
    500: '#c528b7',
    950: '#000000',
  },
}
SCSS
$custom: #c528b7;
$custom-light: #db76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c528b7",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 305.35,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58352,
    "c": 0.23739,
    "h": 332.3
  },
  "luminance": 0.16807
}

Semantic roles & 50–950 ramp

primary
#C528B7
secondary
#7ACE82
accent
#E94E3F
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C528B7

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

Preview Lab → · Contrast checker → · Palette generator →

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