#C531B5#C531B5

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

Color values

HEX#C531B5
RGBrgb(197, 49, 181)
HSLhsl(306, 60%, 48%)
HSVhsv(306, 75%, 77%)
CMYKcmyk(0%, 75.1%, 8.1%, 22.7%)
CIE-LABlab(48.77, 70.34, -37.70)
CIE-LCHlch(48.77, 79.81, 331.81°)
OKLaboklab(58.85% 0.203 -0.1035)
OKLCHoklch(58.85% 0.228 333)
XYZxyz(32.4649, 17.4059, 45.3569)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531B5 #31C541
analogous
#8B31C5 #C531B5 #C5316B
triadic
#C531B5 #B5C531 #31B5C5
tetradic
#C531B5 #C58B31 #31C541 #316BC5
square
#C531B5 #C58B31 #31C541 #316BC5
split-complementary
#C531B5 #6BC531 #31C58B
monochromatic
#63195B #942588 #C531B5 #D75DC9 #E38EDA

Accessibility & contrast

On white

4.69
#C531B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C531B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C531B5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531B5#FFFFFF#000000##FFFFFF
##C531B51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c531b5;
/* rgb */ color: rgb(197, 49, 181);
/* oklch */ color: oklch(58.9% 0.228 333.0);
Tailwind
colors: {
  custom: {
    50: '#db79cb',
    500: '#c531b5',
    950: '#000000',
  },
}
SCSS
$custom: #c531b5;
$custom-light: #db79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c531b5",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 306.486,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.22788,
    "h": 333
  },
  "luminance": 0.17403
}

Semantic roles & 50–950 ramp

primary
#C531B5
secondary
#85CD8C
accent
#E35644
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C531B5

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

Preview Lab → · Contrast checker → · Palette generator →

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