#C531B8#C531B8

#C531B8 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.230 H 332.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C531B8
RGBrgb(197, 49, 184)
HSLhsl(305, 60%, 48%)
HSVhsv(305, 75%, 77%)
CMYKcmyk(0%, 75.1%, 6.6%, 22.7%)
CIE-LABlab(48.92, 70.79, -39.21)
CIE-LCHlch(48.92, 80.93, 331.02°)
OKLaboklab(59.01% 0.2031 -0.1079)
OKLCHoklch(59.01% 0.23 332)
XYZxyz(32.7761, 17.5304, 46.9956)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531B8 #31C53E
analogous
#8831C5 #C531B8 #C5316E
triadic
#C531B8 #B8C531 #31B8C5
tetradic
#C531B8 #C58831 #31C53E #316EC5
square
#C531B8 #C58831 #31C53E #316EC5
split-complementary
#C531B8 #6EC531 #31C588
monochromatic
#63195C #94258A #C531B8 #D75DCC #E38EDB

Accessibility & contrast

On white

4.66
#C531B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C531B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C531B8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531B8#FFFFFF#000000##FFFFFF
##C531B81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BC
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#CD4372
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c531b8;
/* rgb */ color: rgb(197, 49, 184);
/* oklch */ color: oklch(59.0% 0.230 332.0);
Tailwind
colors: {
  custom: {
    50: '#db79ce',
    500: '#c531b8',
    950: '#000000',
  },
}
SCSS
$custom: #c531b8;
$custom-light: #db79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c531b8",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 305.27,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.22999,
    "h": 332
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#C531B8
secondary
#85CD8B
accent
#E35244
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C531B8

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

Preview Lab → · Contrast checker → · Palette generator →

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