#C531AE#C531AE

#C531AE is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.5% C 0.223 H 335.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C531AE
RGBrgb(197, 49, 174)
HSLhsl(309, 60%, 48%)
HSVhsv(309, 75%, 77%)
CMYKcmyk(0%, 75.1%, 11.7%, 22.7%)
CIE-LABlab(48.42, 69.32, -34.14)
CIE-LCHlch(48.42, 77.27, 333.78°)
OKLaboklab(58.49% 0.2026 -0.0933)
OKLCHoklch(58.49% 0.223 335.3)
XYZxyz(31.7647, 17.1258, 41.6689)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531AE #31C548
analogous
#9231C5 #C531AE #C53164
triadic
#C531AE #AEC531 #31AEC5
tetradic
#C531AE #C59231 #31C548 #3164C5
square
#C531AE #C59231 #31C548 #3164C5
split-complementary
#C531AE #64C531 #31C592
monochromatic
#631957 #942583 #C531AE #D75DC4 #E38ED6

Accessibility & contrast

On white

4.75
#C531AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C531AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C531AE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531AE#FFFFFF#000000##FFFFFF
##C531AE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#677BAB
Tritanopia (blue-blind)
#CF3D6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c531ae;
/* rgb */ color: rgb(197, 49, 174);
/* oklch */ color: oklch(58.5% 0.223 335.3);
Tailwind
colors: {
  custom: {
    50: '#db79c6',
    500: '#c531ae',
    950: '#000000',
  },
}
SCSS
$custom: #c531ae;
$custom-light: #db79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c531ae",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 309.324,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5849,
    "c": 0.22303,
    "h": 335.3
  },
  "luminance": 0.17123
}

Semantic roles & 50–950 ramp

primary
#C531AE
secondary
#85CD90
accent
#E35D44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C531AE

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

Preview Lab → · Contrast checker → · Palette generator →

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