#C528C1#C528C1

#C528C1 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.9% C 0.244 H 329.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C528C1
RGBrgb(197, 40, 193)
HSLhsl(302, 66%, 46%)
HSVhsv(302, 80%, 77%)
CMYKcmyk(0%, 79.7%, 2%, 22.7%)
CIE-LABlab(48.56, 74.59, -45.03)
CIE-LCHlch(48.56, 87.12, 328.88°)
OKLaboklab(58.91% 0.2101 -0.1247)
OKLCHoklch(58.91% 0.244 329.3)
XYZxyz(33.4102, 17.2408, 52.0099)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C528C1 #28C52C
analogous
#7B28C5 #C528C1 #C52873
triadic
#C528C1 #C1C528 #28C1C5
tetradic
#C528C1 #C57B28 #28C52C #2873C5
square
#C528C1 #C57B28 #28C52C #2873C5
split-complementary
#C528C1 #73C528 #28C57B
monochromatic
#5F135D #921E8F #C528C1 #DB4FD8 #E682E3

Accessibility & contrast

On white

4.72
#C528C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C528C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C528C1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C528C1#FFFFFF#000000##FFFFFF
##C528C11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#5A7ABD
Tritanopia (blue-blind)
#CC4275
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c528c1;
/* rgb */ color: rgb(197, 40, 193);
/* oklch */ color: oklch(58.9% 0.244 329.3);
Tailwind
colors: {
  custom: {
    50: '#db76d4',
    500: '#c528c1',
    950: '#000000',
  },
}
SCSS
$custom: #c528c1;
$custom-light: #db76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c528c1",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 193
  },
  "hsl": {
    "h": 301.529,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.24435,
    "h": 329.3
  },
  "luminance": 0.17238
}

Semantic roles & 50–950 ramp

primary
#C528C1
secondary
#7ACE7D
accent
#E9433F
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C528C1

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

Preview Lab → · Contrast checker → · Palette generator →

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