#C531B6#C531B6

#C531B6 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.9% C 0.229 H 332.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C531B6
RGBrgb(197, 49, 182)
HSLhsl(306, 60%, 48%)
HSVhsv(306, 75%, 77%)
CMYKcmyk(0%, 75.1%, 7.6%, 22.7%)
CIE-LABlab(48.82, 70.49, -38.21)
CIE-LCHlch(48.82, 80.18, 331.54°)
OKLaboklab(58.91% 0.203 -0.105)
OKLCHoklch(58.91% 0.229 332.7)
XYZxyz(32.5679, 17.4471, 45.8993)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531B6 #31C540
analogous
#8A31C5 #C531B6 #C5316C
triadic
#C531B6 #B6C531 #31B6C5
tetradic
#C531B6 #C58A31 #31C540 #316CC5
square
#C531B6 #C58A31 #31C540 #316CC5
split-complementary
#C531B6 #6CC531 #31C58A
monochromatic
#63195B #942589 #C531B6 #D75DCA #E38EDA

Accessibility & contrast

On white

4.68
#C531B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C531B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C531B6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531B6#FFFFFF#000000##FFFFFF
##C531B61.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BA
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#CE4271
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c531b6;
/* rgb */ color: rgb(197, 49, 182);
/* oklch */ color: oklch(58.9% 0.229 332.7);
Tailwind
colors: {
  custom: {
    50: '#db79cc',
    500: '#c531b6',
    950: '#000000',
  },
}
SCSS
$custom: #c531b6;
$custom-light: #db79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c531b6",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 306.081,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.22858,
    "h": 332.7
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#C531B6
secondary
#85CD8C
accent
#E35544
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C531B6

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

Preview Lab → · Contrast checker → · Palette generator →

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