#C531B0#C531B0

#C531B0 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.224 H 334.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C531B0
RGBrgb(197, 49, 176)
HSLhsl(309, 60%, 48%)
HSVhsv(309, 75%, 77%)
CMYKcmyk(0%, 75.1%, 10.7%, 22.7%)
CIE-LABlab(48.52, 69.61, -35.16)
CIE-LCHlch(48.52, 77.98, 333.20°)
OKLaboklab(58.59% 0.2027 -0.0962)
OKLCHoklch(58.59% 0.224 334.6)
XYZxyz(31.9611, 17.2044, 42.7034)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531B0 #31C546
analogous
#9031C5 #C531B0 #C53166
triadic
#C531B0 #B0C531 #31B0C5
tetradic
#C531B0 #C59031 #31C546 #3166C5
square
#C531B0 #C59031 #31C546 #3166C5
split-complementary
#C531B0 #66C531 #31C590
monochromatic
#631958 #942584 #C531B0 #D75DC5 #E38ED7

Accessibility & contrast

On white

4.73
#C531B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C531B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C531B0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531B0#FFFFFF#000000##FFFFFF
##C531B01.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B3
Deuteranopia (green-blind)
#667BAD
Tritanopia (blue-blind)
#CF3E6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c531b0;
/* rgb */ color: rgb(197, 49, 176);
/* oklch */ color: oklch(58.6% 0.224 334.6);
Tailwind
colors: {
  custom: {
    50: '#db79c8',
    500: '#c531b0',
    950: '#000000',
  },
}
SCSS
$custom: #c531b0;
$custom-light: #db79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c531b0",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 308.514,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58593,
    "c": 0.2244,
    "h": 334.6
  },
  "luminance": 0.17202
}

Semantic roles & 50–950 ramp

primary
#C531B0
secondary
#85CD8F
accent
#E35B44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C531B0

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

Preview Lab → · Contrast checker → · Palette generator →

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