#C531AF#C531AF

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

Color values

HEX#C531AF
RGBrgb(197, 49, 175)
HSLhsl(309, 60%, 48%)
HSVhsv(309, 75%, 77%)
CMYKcmyk(0%, 75.1%, 11.2%, 22.7%)
CIE-LABlab(48.47, 69.46, -34.65)
CIE-LCHlch(48.47, 77.62, 333.49°)
OKLaboklab(58.54% 0.2027 -0.0948)
OKLCHoklch(58.54% 0.224 334.9)
XYZxyz(31.8625, 17.1649, 42.1842)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531AF #31C547
analogous
#9131C5 #C531AF #C53165
triadic
#C531AF #AFC531 #31AFC5
tetradic
#C531AF #C59131 #31C547 #3165C5
square
#C531AF #C59131 #31C547 #3165C5
split-complementary
#C531AF #65C531 #31C591
monochromatic
#631958 #942583 #C531AF #D75DC4 #E38ED6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C531AF#FFFFFF#000000##FFFFFF
##C531AF1.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)
#3065B2
Deuteranopia (green-blind)
#667BAC
Tritanopia (blue-blind)
#CF3E6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c531af;
/* rgb */ color: rgb(197, 49, 175);
/* oklch */ color: oklch(58.5% 0.224 334.9);
Tailwind
colors: {
  custom: {
    50: '#db79c7',
    500: '#c531af',
    950: '#000000',
  },
}
SCSS
$custom: #c531af;
$custom-light: #db79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c531af",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 308.919,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58541,
    "c": 0.22371,
    "h": 334.9
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#C531AF
secondary
#85CD8F
accent
#E35C44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C531AF

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

Preview Lab → · Contrast checker → · Palette generator →

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