#C531BD#C531BD

#C531BD is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.3% C 0.234 H 330.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C531BD
RGBrgb(197, 49, 189)
HSLhsl(303, 60%, 48%)
HSVhsv(303, 75%, 77%)
CMYKcmyk(0%, 75.1%, 4.1%, 22.7%)
CIE-LABlab(49.18, 71.55, -41.71)
CIE-LCHlch(49.18, 82.82, 329.76°)
OKLaboklab(59.29% 0.2032 -0.1151)
OKLCHoklch(59.29% 0.234 330.5)
XYZxyz(33.3095, 17.7437, 49.8048)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531BD #31C539
analogous
#8331C5 #C531BD #C53173
triadic
#C531BD #BDC531 #31BDC5
tetradic
#C531BD #C58331 #31C539 #3173C5
square
#C531BD #C58331 #31C539 #3173C5
split-complementary
#C531BD #73C531 #31C583
monochromatic
#63195F #94258E #C531BD #D75DD0 #E38EDE

Accessibility & contrast

On white

4.62
#C531BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C531BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C531BD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531BD#FFFFFF#000000##FFFFFF
##C531BD1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E68C1
Deuteranopia (green-blind)
#5F7CB9
Tritanopia (blue-blind)
#CD4575
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c531bd;
/* rgb */ color: rgb(197, 49, 189);
/* oklch */ color: oklch(59.3% 0.234 330.5);
Tailwind
colors: {
  custom: {
    50: '#db79d1',
    500: '#c531bd',
    950: '#000000',
  },
}
SCSS
$custom: #c531bd;
$custom-light: #db79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c531bd",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 303.243,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59287,
    "c": 0.23357,
    "h": 330.5
  },
  "luminance": 0.17741
}

Semantic roles & 50–950 ramp

primary
#C531BD
secondary
#85CD89
accent
#E34D44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C531BD

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

Preview Lab → · Contrast checker → · Palette generator →

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