#B531BF#B531BF

#B531BF is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.228 H 324.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B531BF
RGBrgb(181, 49, 191)
HSLhsl(296, 59%, 47%)
HSVhsv(296, 74%, 75%)
CMYKcmyk(5.2%, 74.3%, 0%, 25.1%)
CIE-LABlab(46.69, 68.54, -47.00)
CIE-LCHlch(46.69, 83.11, 325.56°)
OKLaboklab(57.04% 0.1863 -0.1309)
OKLCHoklch(57.04% 0.228 324.9)
XYZxyz(29.5576, 15.7839, 50.7699)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B531BF #3BBF31
analogous
#6E31BF #B531BF #BF3182
triadic
#B531BF #BFB531 #31BFB5
tetradic
#B531BF #BF6E31 #3BBF31 #3182BF
square
#B531BF #BF6E31 #3BBF31 #3182BF
split-complementary
#B531BF #82BF31 #31BF6E
monochromatic
#59185E #87258E #B531BF #CC59D4 #DB8AE1

Accessibility & contrast

On white

5.05
#B531BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B531BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B531BF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B531BF#FFFFFF#000000##FFFFFF
##B531BF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#B94A76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b531bf;
/* rgb */ color: rgb(181, 49, 191);
/* oklch */ color: oklch(57.0% 0.228 324.9);
Tailwind
colors: {
  custom: {
    50: '#cf77d3',
    500: '#b531bf',
    950: '#000000',
  },
}
SCSS
$custom: #b531bf;
$custom-light: #cf77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b531bf",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 295.775,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.22773,
    "h": 324.9
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#B531BF
secondary
#86CB81
accent
#E24550
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B531BF

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

Preview Lab → · Contrast checker → · Palette generator →

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