#C531AD#C531AD

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

Color values

HEX#C531AD
RGBrgb(197, 49, 173)
HSLhsl(310, 60%, 48%)
HSVhsv(310, 75%, 77%)
CMYKcmyk(0%, 75.1%, 12.2%, 22.7%)
CIE-LABlab(48.37, 69.17, -33.63)
CIE-LCHlch(48.37, 76.91, 334.07°)
OKLaboklab(58.44% 0.2025 -0.0918)
OKLCHoklch(58.44% 0.222 335.6)
XYZxyz(31.6676, 17.0870, 41.1574)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531AD #31C549
analogous
#9331C5 #C531AD #C53163
triadic
#C531AD #ADC531 #31ADC5
tetradic
#C531AD #C59331 #31C549 #3163C5
square
#C531AD #C59331 #31C549 #3163C5
split-complementary
#C531AD #63C531 #31C593
monochromatic
#631957 #942582 #C531AD #D75DC3 #E38ED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C531AD#FFFFFF#000000##FFFFFF
##C531AD1.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)
#3265B0
Deuteranopia (green-blind)
#677BAA
Tritanopia (blue-blind)
#CF3D6C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c531ad;
/* rgb */ color: rgb(197, 49, 173);
/* oklch */ color: oklch(58.4% 0.222 335.6);
Tailwind
colors: {
  custom: {
    50: '#db79c6',
    500: '#c531ad',
    950: '#000000',
  },
}
SCSS
$custom: #c531ad;
$custom-light: #db79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c531ad",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 309.73,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58439,
    "c": 0.22234,
    "h": 335.6
  },
  "luminance": 0.17084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C531AD

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

Preview Lab → · Contrast checker → · Palette generator →

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