#C531B7#C531B7

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

Color values

HEX#C531B7
RGBrgb(197, 49, 183)
HSLhsl(306, 60%, 48%)
HSVhsv(306, 75%, 77%)
CMYKcmyk(0%, 75.1%, 7.1%, 22.7%)
CIE-LABlab(48.87, 70.64, -38.71)
CIE-LCHlch(48.87, 80.55, 331.28°)
OKLaboklab(58.96% 0.2031 -0.1064)
OKLCHoklch(58.96% 0.229 332.3)
XYZxyz(32.6716, 17.4886, 46.4455)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531B7 #31C53F
analogous
#8931C5 #C531B7 #C5316D
triadic
#C531B7 #B7C531 #31B7C5
tetradic
#C531B7 #C58931 #31C53F #316DC5
square
#C531B7 #C58931 #31C53F #316DC5
split-complementary
#C531B7 #6DC531 #31C589
monochromatic
#63195C #942589 #C531B7 #D75DCB #E38EDB

Accessibility & contrast

On white

4.67
#C531B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C531B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C531B7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531B7#FFFFFF#000000##FFFFFF
##C531B71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BB
Deuteranopia (green-blind)
#637BB3
Tritanopia (blue-blind)
#CE4272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c531b7;
/* rgb */ color: rgb(197, 49, 183);
/* oklch */ color: oklch(59.0% 0.229 332.3);
Tailwind
colors: {
  custom: {
    50: '#db79cd',
    500: '#c531b7',
    950: '#000000',
  },
}
SCSS
$custom: #c531b7;
$custom-light: #db79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c531b7",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 305.676,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.22929,
    "h": 332.3
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C531B7

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

Preview Lab → · Contrast checker → · Palette generator →

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