#B531B3#B531B3

#B531B3 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.218 H 328.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B531B3
RGBrgb(181, 49, 179)
HSLhsl(301, 57%, 45%)
HSVhsv(301, 73%, 71%)
CMYKcmyk(0%, 72.9%, 1.1%, 29%)
CIE-LABlab(46.01, 66.55, -41.06)
CIE-LCHlch(46.01, 78.19, 328.33°)
OKLaboklab(56.34% 0.1866 -0.1136)
OKLCHoklch(56.34% 0.218 328.7)
XYZxyz(28.2908, 15.2772, 44.0978)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B531B3 #31B533
analogous
#7531B5 #B531B3 #B53171
triadic
#B531B3 #B3B531 #31B3B5
tetradic
#B531B3 #B57531 #31B533 #3171B5
square
#B531B3 #B57531 #31B533 #3171B5
split-complementary
#B531B3 #71B531 #31B575
monochromatic
#551754 #852483 #B531B3 #D053CE #DD83DC

Accessibility & contrast

On white

5.18
#B531B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B531B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B531B3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B531B3#FFFFFF#000000##FFFFFF
##B531B31.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B7
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#BB456F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b531b3;
/* rgb */ color: rgb(181, 49, 179);
/* oklch */ color: oklch(56.3% 0.218 328.7);
Tailwind
colors: {
  custom: {
    50: '#cf77ca',
    500: '#b531b3',
    950: '#000000',
  },
}
SCSS
$custom: #b531b3;
$custom-light: #cf77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b531b3",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 300.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56339,
    "c": 0.21846,
    "h": 328.7
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#B531B3
secondary
#7BC77C
accent
#E14947
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B531B3

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

Preview Lab → · Contrast checker → · Palette generator →

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