#B532BF#B532BF

#B532BF is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.227 H 324.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B532BF
RGBrgb(181, 50, 191)
HSLhsl(296, 59%, 47%)
HSVhsv(296, 74%, 75%)
CMYKcmyk(5.2%, 73.8%, 0%, 25.1%)
CIE-LABlab(46.80, 68.22, -46.82)
CIE-LCHlch(46.80, 82.74, 325.53°)
OKLaboklab(57.12% 0.1854 -0.1304)
OKLCHoklch(57.12% 0.227 324.9)
XYZxyz(29.5999, 15.8685, 50.7840)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532BF #3CBF32
analogous
#6F32BF #B532BF #BF3282
triadic
#B532BF #BFB532 #32BFB5
tetradic
#B532BF #BF6F32 #3CBF32 #3282BF
square
#B532BF #BF6F32 #3CBF32 #3282BF
split-complementary
#B532BF #82BF32 #32BF6F
monochromatic
#59195E #87258E #B532BF #CB5AD4 #DB8BE1

Accessibility & contrast

On white

5.03
#B532BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B532BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532BF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532BF#FFFFFF#000000##FFFFFF
##B532BF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b532bf;
/* rgb */ color: rgb(181, 50, 191);
/* oklch */ color: oklch(57.1% 0.227 324.9);
Tailwind
colors: {
  custom: {
    50: '#cf78d3',
    500: '#b532bf',
    950: '#000000',
  },
}
SCSS
$custom: #b532bf;
$custom-light: #cf78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b532bf",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 295.745,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.22671,
    "h": 324.9
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#B532BF
secondary
#87CB82
accent
#E24651
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B532BF

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

Preview Lab → · Contrast checker → · Palette generator →

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