#B531BE#B531BE

#B531BE is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.227 H 325.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B531BE
RGBrgb(181, 49, 190)
HSLhsl(296, 59%, 47%)
HSVhsv(296, 74%, 75%)
CMYKcmyk(4.7%, 74.2%, 0%, 25.5%)
CIE-LABlab(46.63, 68.37, -46.51)
CIE-LCHlch(46.63, 82.69, 325.77°)
OKLaboklab(56.98% 0.1864 -0.1295)
OKLCHoklch(56.98% 0.227 325.2)
XYZxyz(29.4479, 15.7400, 50.1923)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B531BE #3ABE31
analogous
#6F31BE #B531BE #BE3181
triadic
#B531BE #BEB531 #31BEB5
tetradic
#B531BE #BE6F31 #3ABE31 #3181BE
square
#B531BE #BE6F31 #3ABE31 #3181BE
split-complementary
#B531BE #81BE31 #31BE6F
monochromatic
#58185D #87248D #B531BE #CC58D4 #DB89E1

Accessibility & contrast

On white

5.06
#B531BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B531BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B531BE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B531BE#FFFFFF#000000##FFFFFF
##B531BE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#B94A76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b531be;
/* rgb */ color: rgb(181, 49, 190);
/* oklch */ color: oklch(57.0% 0.227 325.2);
Tailwind
colors: {
  custom: {
    50: '#cf77d2',
    500: '#b531be',
    950: '#000000',
  },
}
SCSS
$custom: #b531be;
$custom-light: #cf77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b531be",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 296.17,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.22694,
    "h": 325.2
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#B531BE
secondary
#85CA80
accent
#E24650
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B531BE

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

Preview Lab → · Contrast checker → · Palette generator →

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