#C528B8#C528B8

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

Color values

HEX#C528B8
RGBrgb(197, 40, 184)
HSLhsl(305, 66%, 46%)
HSVhsv(305, 80%, 77%)
CMYKcmyk(0%, 79.7%, 6.6%, 22.7%)
CIE-LABlab(48.07, 73.24, -40.55)
CIE-LCHlch(48.07, 83.72, 331.02°)
OKLaboklab(58.41% 0.2102 -0.1117)
OKLCHoklch(58.41% 0.238 332)
XYZxyz(32.4366, 16.8514, 46.8824)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C528B8 #28C535
analogous
#8428C5 #C528B8 #C5286A
triadic
#C528B8 #B8C528 #28B8C5
tetradic
#C528B8 #C58428 #28C535 #286AC5
square
#C528B8 #C58428 #28C535 #286AC5
split-complementary
#C528B8 #6AC528 #28C584
monochromatic
#5F1359 #921E88 #C528B8 #DB4FD0 #E682DD

Accessibility & contrast

On white

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

On black

4.37
#C528B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C528B8#FFFFFF#000000##FFFFFF
##C528B81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BC
Deuteranopia (green-blind)
#5F7AB4
Tritanopia (blue-blind)
#CD3D70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c528b8;
/* rgb */ color: rgb(197, 40, 184);
/* oklch */ color: oklch(58.4% 0.238 332.0);
Tailwind
colors: {
  custom: {
    50: '#db76ce',
    500: '#c528b8',
    950: '#000000',
  },
}
SCSS
$custom: #c528b8;
$custom-light: #db76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c528b8",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 304.968,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58407,
    "c": 0.23808,
    "h": 332
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#C528B8
secondary
#7ACE81
accent
#E94D3F
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C528B8

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

Preview Lab → · Contrast checker → · Palette generator →

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