#C531B4#C531B4

#C531B4 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.227 H 333.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C531B4
RGBrgb(197, 49, 180)
HSLhsl(307, 60%, 48%)
HSVhsv(307, 75%, 77%)
CMYKcmyk(0%, 75.1%, 8.6%, 22.7%)
CIE-LABlab(48.72, 70.19, -37.19)
CIE-LCHlch(48.72, 79.44, 332.08°)
OKLaboklab(58.8% 0.203 -0.1021)
OKLCHoklch(58.8% 0.227 333.3)
XYZxyz(32.3627, 17.3650, 44.8185)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531B4 #31C542
analogous
#8C31C5 #C531B4 #C5316A
triadic
#C531B4 #B4C531 #31B4C5
tetradic
#C531B4 #C58C31 #31C542 #316AC5
square
#C531B4 #C58C31 #31C542 #316AC5
split-complementary
#C531B4 #6AC531 #31C58C
monochromatic
#63195A #942587 #C531B4 #D75DC9 #E38ED9

Accessibility & contrast

On white

4.70
#C531B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C531B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C531B4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531B4#FFFFFF#000000##FFFFFF
##C531B41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B8
Deuteranopia (green-blind)
#647BB1
Tritanopia (blue-blind)
#CE4170
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c531b4;
/* rgb */ color: rgb(197, 49, 180);
/* oklch */ color: oklch(58.8% 0.227 333.3);
Tailwind
colors: {
  custom: {
    50: '#db79cb',
    500: '#c531b4',
    950: '#000000',
  },
}
SCSS
$custom: #c531b4;
$custom-light: #db79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c531b4",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 306.892,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.22718,
    "h": 333.3
  },
  "luminance": 0.17362
}

Semantic roles & 50–950 ramp

primary
#C531B4
secondary
#85CD8D
accent
#E35744
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C531B4

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

Preview Lab → · Contrast checker → · Palette generator →

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