#C531BB#C531BB

#C531BB is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.232 H 331.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C531BB
RGBrgb(197, 49, 187)
HSLhsl(304, 60%, 48%)
HSVhsv(304, 75%, 77%)
CMYKcmyk(0%, 75.1%, 5.1%, 22.7%)
CIE-LABlab(49.08, 71.25, -40.72)
CIE-LCHlch(49.08, 82.06, 330.25°)
OKLaboklab(59.18% 0.2032 -0.1122)
OKLCHoklch(59.18% 0.232 331.1)
XYZxyz(33.0939, 17.6575, 48.6693)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531BB #31C53B
analogous
#8531C5 #C531BB #C53171
triadic
#C531BB #BBC531 #31BBC5
tetradic
#C531BB #C58531 #31C53B #3171C5
square
#C531BB #C58531 #31C53B #3171C5
split-complementary
#C531BB #71C531 #31C585
monochromatic
#63195E #94258C #C531BB #D75DCE #E38EDD

Accessibility & contrast

On white

4.63
#C531BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C531BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C531BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531BB#FFFFFF#000000##FFFFFF
##C531BB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168BF
Deuteranopia (green-blind)
#607CB7
Tritanopia (blue-blind)
#CD4474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c531bb;
/* rgb */ color: rgb(197, 49, 187);
/* oklch */ color: oklch(59.2% 0.232 331.1);
Tailwind
colors: {
  custom: {
    50: '#db79d0',
    500: '#c531bb',
    950: '#000000',
  },
}
SCSS
$custom: #c531bb;
$custom-light: #db79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c531bb",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 304.054,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59177,
    "c": 0.23213,
    "h": 331.1
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

primary
#C531BB
secondary
#85CD8A
accent
#E34F44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C531BB

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

Preview Lab → · Contrast checker → · Palette generator →

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