#C524C2#C524C2

#C524C2 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.7% C 0.248 H 329.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C524C2
RGBrgb(197, 36, 194)
HSLhsl(301, 69%, 46%)
HSVhsv(301, 82%, 77%)
CMYKcmyk(0%, 81.7%, 1.5%, 22.7%)
CIE-LABlab(48.30, 75.67, -46.03)
CIE-LCHlch(48.30, 88.57, 328.69°)
OKLaboklab(58.74% 0.2128 -0.1276)
OKLCHoklch(58.74% 0.248 329)
XYZxyz(33.3942, 17.0297, 52.5567)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C524C2 #24C527
analogous
#7724C5 #C524C2 #C52471
triadic
#C524C2 #C2C524 #24C2C5
tetradic
#C524C2 #C57724 #24C527 #2471C5
square
#C524C2 #C57724 #24C527 #2471C5
split-complementary
#C524C2 #71C524 #24C577
monochromatic
#5E115C #911B8F #C524C2 #DE49DB #E77CE5

Accessibility & contrast

On white

4.77
#C524C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C524C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C524C2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C524C2#FFFFFF#000000##FFFFFF
##C524C21.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#CC4175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c524c2;
/* rgb */ color: rgb(197, 36, 194);
/* oklch */ color: oklch(58.7% 0.248 329.0);
Tailwind
colors: {
  custom: {
    50: '#db75d5',
    500: '#c524c2',
    950: '#000000',
  },
}
SCSS
$custom: #c524c2;
$custom-light: #db75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c524c2",
  "rgb": {
    "r": 197,
    "g": 36,
    "b": 194
  },
  "hsl": {
    "h": 301.118,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.58744,
    "c": 0.24808,
    "h": 329
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#C524C2
secondary
#76CF77
accent
#EC3F3C
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C524C2

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

Preview Lab → · Contrast checker → · Palette generator →

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