#C524C5#C524C5

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

Color values

HEX#C524C5
RGBrgb(197, 36, 197)
HSLhsl(300, 69%, 46%)
HSVhsv(300, 82%, 77%)
CMYKcmyk(0%, 81.7%, 0%, 22.7%)
CIE-LABlab(48.47, 76.13, -47.50)
CIE-LCHlch(48.47, 89.73, 328.04°)
OKLaboklab(58.92% 0.2126 -0.1319)
OKLCHoklch(58.92% 0.25 328.2)
XYZxyz(33.7345, 17.1659, 54.3491)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C524C5 #24C524
analogous
#7424C5 #C524C5 #C52474
triadic
#C524C5 #C5C524 #24C5C5
tetradic
#C524C5 #C57424 #24C524 #2474C5
square
#C524C5 #C57424 #24C524 #2474C5
split-complementary
#C524C5 #74C524 #24C574
monochromatic
#5E115E #911B91 #C524C5 #DE49DE #E77CE7

Accessibility & contrast

On white

4.74
#C524C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C524C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C524C5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C524C5#FFFFFF#000000##FFFFFF
##C524C51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#CB4277
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c524c5;
/* rgb */ color: rgb(197, 36, 197);
/* oklch */ color: oklch(58.9% 0.250 328.2);
Tailwind
colors: {
  custom: {
    50: '#db75d7',
    500: '#c524c5',
    950: '#000000',
  },
}
SCSS
$custom: #c524c5;
$custom-light: #db75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c524c5",
  "rgb": {
    "r": 197,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 300,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5892,
    "c": 0.25019,
    "h": 328.2
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#C524C5
secondary
#76CF76
accent
#EC3C3C
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C524C5

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

Preview Lab → · Contrast checker → · Palette generator →

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