#B531A4#B531A4

#B531A4 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.207 H 333.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B531A4
RGBrgb(181, 49, 164)
HSLhsl(308, 57%, 45%)
HSVhsv(308, 73%, 71%)
CMYKcmyk(0%, 72.9%, 9.4%, 29%)
CIE-LABlab(45.22, 64.20, -33.42)
CIE-LCHlch(45.22, 72.38, 332.50°)
OKLaboklab(55.52% 0.186 -0.0916)
OKLCHoklch(55.52% 0.207 333.8)
XYZxyz(26.8554, 14.7030, 36.5383)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B531A4 #31B542
analogous
#8431B5 #B531A4 #B53162
triadic
#B531A4 #A4B531 #31A4B5
tetradic
#B531A4 #B58431 #31B542 #3162B5
square
#B531A4 #B58431 #31B542 #3162B5
split-complementary
#B531A4 #62B531 #31B584
monochromatic
#55174D #852478 #B531A4 #D053C0 #DD83D2

Accessibility & contrast

On white

5.33
#B531A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B531A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B531A4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B531A4#FFFFFF#000000##FFFFFF
##B531A41.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA7
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#BD3D67
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b531a4;
/* rgb */ color: rgb(181, 49, 164);
/* oklch */ color: oklch(55.5% 0.207 333.8);
Tailwind
colors: {
  custom: {
    50: '#cf76bf',
    500: '#b531a4',
    950: '#000000',
  },
}
SCSS
$custom: #b531a4;
$custom-light: #cf76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b531a4",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 307.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55519,
    "c": 0.20734,
    "h": 333.8
  },
  "luminance": 0.14701
}

Semantic roles & 50–950 ramp

primary
#B531A4
secondary
#7BC785
accent
#E15B47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B531A4

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

Preview Lab → · Contrast checker → · Palette generator →

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