#C528C5#C528C5

#C528C5 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.1% C 0.247 H 328.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C528C5
RGBrgb(197, 40, 197)
HSLhsl(300, 66%, 46%)
HSVhsv(300, 80%, 77%)
CMYKcmyk(0%, 79.7%, 0%, 22.7%)
CIE-LABlab(48.79, 75.20, -46.99)
CIE-LCHlch(48.79, 88.68, 328.00°)
OKLaboklab(59.15% 0.21 -0.1304)
OKLCHoklch(59.15% 0.247 328.2)
XYZxyz(33.8624, 17.4217, 54.3917)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C528C5 #28C528
analogous
#7728C5 #C528C5 #C52877
triadic
#C528C5 #C5C528 #28C5C5
tetradic
#C528C5 #C57728 #28C528 #2877C5
square
#C528C5 #C57728 #28C528 #2877C5
split-complementary
#C528C5 #77C528 #28C577
monochromatic
#5F135F #921E92 #C528C5 #DB4FDB #E682E6

Accessibility & contrast

On white

4.68
#C528C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C528C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C528C5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C528C5#FFFFFF#000000##FFFFFF
##C528C51.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#577BC1
Tritanopia (blue-blind)
#CB4478
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c528c5;
/* rgb */ color: rgb(197, 40, 197);
/* oklch */ color: oklch(59.1% 0.247 328.2);
Tailwind
colors: {
  custom: {
    50: '#db76d7',
    500: '#c528c5',
    950: '#000000',
  },
}
SCSS
$custom: #c528c5;
$custom-light: #db76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c528c5",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 300,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.59146,
    "c": 0.24718,
    "h": 328.2
  },
  "luminance": 0.17419
}

Semantic roles & 50–950 ramp

primary
#C528C5
secondary
#7ACE7A
accent
#E93F3F
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C528C5

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

Preview Lab → · Contrast checker → · Palette generator →

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