#B531AE#B531AE

#B531AE is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.215 H 330.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B531AE
RGBrgb(181, 49, 174)
HSLhsl(303, 57%, 45%)
HSVhsv(303, 73%, 71%)
CMYKcmyk(0%, 72.9%, 3.9%, 29%)
CIE-LABlab(45.74, 65.75, -38.54)
CIE-LCHlch(45.74, 76.21, 329.62°)
OKLaboklab(56.06% 0.1865 -0.1063)
OKLCHoklch(56.06% 0.215 330.3)
XYZxyz(27.7942, 15.0785, 41.4828)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B531AE #31B538
analogous
#7A31B5 #B531AE #B5316C
triadic
#B531AE #AEB531 #31AEB5
tetradic
#B531AE #B57A31 #31B538 #316CB5
square
#B531AE #B57A31 #31B538 #316CB5
split-complementary
#B531AE #6CB531 #31B57A
monochromatic
#551751 #852480 #B531AE #D053CA #DD83D9

Accessibility & contrast

On white

5.23
#B531AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B531AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B531AE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B531AE#FFFFFF#000000##FFFFFF
##B531AE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#BC426D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b531ae;
/* rgb */ color: rgb(181, 49, 174);
/* oklch */ color: oklch(56.1% 0.215 330.3);
Tailwind
colors: {
  custom: {
    50: '#cf76c6',
    500: '#b531ae',
    950: '#000000',
  },
}
SCSS
$custom: #b531ae;
$custom-light: #cf76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b531ae",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 303.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.21469,
    "h": 330.3
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#B531AE
secondary
#7BC77F
accent
#E14F47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B531AE

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

Preview Lab → · Contrast checker → · Palette generator →

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