#C531B2#C531B2

#C531B2 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.7% C 0.226 H 333.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C531B2
RGBrgb(197, 49, 178)
HSLhsl(308, 60%, 48%)
HSVhsv(308, 75%, 77%)
CMYKcmyk(0%, 75.1%, 9.6%, 22.7%)
CIE-LABlab(48.62, 69.90, -36.18)
CIE-LCHlch(48.62, 78.71, 332.63°)
OKLaboklab(58.7% 0.2028 -0.0992)
OKLCHoklch(58.7% 0.226 333.9)
XYZxyz(32.1604, 17.2841, 43.7532)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531B2 #31C544
analogous
#8E31C5 #C531B2 #C53168
triadic
#C531B2 #B2C531 #31B2C5
tetradic
#C531B2 #C58E31 #31C544 #3168C5
square
#C531B2 #C58E31 #31C544 #3168C5
split-complementary
#C531B2 #68C531 #31C58E
monochromatic
#631959 #942586 #C531B2 #D75DC7 #E38ED8

Accessibility & contrast

On white

4.71
#C531B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C531B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C531B2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531B2#FFFFFF#000000##FFFFFF
##C531B21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#CE406F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c531b2;
/* rgb */ color: rgb(197, 49, 178);
/* oklch */ color: oklch(58.7% 0.226 333.9);
Tailwind
colors: {
  custom: {
    50: '#db79c9',
    500: '#c531b2',
    950: '#000000',
  },
}
SCSS
$custom: #c531b2;
$custom-light: #db79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c531b2",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 307.703,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58696,
    "c": 0.22578,
    "h": 333.9
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#C531B2
secondary
#85CD8E
accent
#E35944
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C531B2

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

Preview Lab → · Contrast checker → · Palette generator →

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