#B531A0#B531A0

#B531A0 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.204 H 335.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B531A0
RGBrgb(181, 49, 160)
HSLhsl(310, 57%, 45%)
HSVhsv(310, 73%, 71%)
CMYKcmyk(0%, 72.9%, 11.6%, 29%)
CIE-LABlab(45.03, 63.60, -31.35)
CIE-LCHlch(45.03, 70.90, 333.76°)
OKLaboklab(55.31% 0.1857 -0.0856)
OKLCHoklch(55.31% 0.204 335.3)
XYZxyz(26.4999, 14.5608, 34.6657)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B531A0 #31B546
analogous
#8831B5 #B531A0 #B5315E
triadic
#B531A0 #A0B531 #31A0B5
tetradic
#B531A0 #B58831 #31B546 #315EB5
square
#B531A0 #B58831 #31B546 #315EB5
split-complementary
#B531A0 #5EB531 #31B588
monochromatic
#55174B #852475 #B531A0 #D053BC #DD83CF

Accessibility & contrast

On white

5.37
#B531A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B531A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B531A0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B531A0#FFFFFF#000000##FFFFFF
##B531A01.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA3
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#BE3B65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b531a0;
/* rgb */ color: rgb(181, 49, 160);
/* oklch */ color: oklch(55.3% 0.204 335.3);
Tailwind
colors: {
  custom: {
    50: '#cf76bc',
    500: '#b531a0',
    950: '#000000',
  },
}
SCSS
$custom: #b531a0;
$custom-light: #cf76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b531a0",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 309.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55312,
    "c": 0.20449,
    "h": 335.3
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

primary
#B531A0
secondary
#7BC787
accent
#E16047
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B531A0

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

Preview Lab → · Contrast checker → · Palette generator →

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