#C531BF#C531BF

#C531BF is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.4% C 0.235 H 329.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C531BF
RGBrgb(197, 49, 191)
HSLhsl(302, 60%, 48%)
HSVhsv(302, 75%, 77%)
CMYKcmyk(0%, 75.1%, 3%, 22.7%)
CIE-LABlab(49.29, 71.86, -42.71)
CIE-LCHlch(49.29, 83.59, 329.28°)
OKLaboklab(59.4% 0.2032 -0.118)
OKLCHoklch(59.4% 0.235 329.9)
XYZxyz(33.5281, 17.8312, 50.9560)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531BF #31C537
analogous
#8131C5 #C531BF #C53175
triadic
#C531BF #BFC531 #31BFC5
tetradic
#C531BF #C58131 #31C537 #3175C5
square
#C531BF #C58131 #31C537 #3175C5
split-complementary
#C531BF #75C531 #31C581
monochromatic
#631960 #94258F #C531BF #D75DD2 #E38EDF

Accessibility & contrast

On white

4.60
#C531BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C531BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C531BF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531BF#FFFFFF#000000##FFFFFF
##C531BF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#CC4676
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c531bf;
/* rgb */ color: rgb(197, 49, 191);
/* oklch */ color: oklch(59.4% 0.235 329.9);
Tailwind
colors: {
  custom: {
    50: '#db79d3',
    500: '#c531bf',
    950: '#000000',
  },
}
SCSS
$custom: #c531bf;
$custom-light: #db79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c531bf",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 302.432,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59398,
    "c": 0.23502,
    "h": 329.9
  },
  "luminance": 0.17829
}

Semantic roles & 50–950 ramp

primary
#C531BF
secondary
#85CD88
accent
#E34B44
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C531BF

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

Preview Lab → · Contrast checker → · Palette generator →

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