#B539BB#B539BB

#B539BB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.216 H 326.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B539BB
RGBrgb(181, 57, 187)
HSLhsl(297, 53%, 48%)
HSVhsv(297, 70%, 73%)
CMYKcmyk(3.2%, 69.5%, 0%, 26.7%)
CIE-LABlab(47.42, 65.14, -43.51)
CIE-LCHlch(47.42, 78.33, 326.26°)
OKLaboklab(57.49% 0.1789 -0.1208)
OKLCHoklch(57.49% 0.216 326)
XYZxyz(29.4882, 16.3398, 48.6048)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B539BB #3FBB39
analogous
#7439BB #B539BB #BB3980
triadic
#B539BB #BBB539 #39BBB5
tetradic
#B539BB #BB7439 #3FBB39 #3980BB
square
#B539BB #BB7439 #3FBB39 #3980BB
split-complementary
#B539BB #80BB39 #39BB74
monochromatic
#5A1C5D #882B8C #B539BB #CA62CF #DA91DD

Accessibility & contrast

On white

4.92
#B539BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B539BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B539BB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B539BB#FFFFFF#000000##FFFFFF
##B539BB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#BA4E76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b539bb;
/* rgb */ color: rgb(181, 57, 187);
/* oklch */ color: oklch(57.5% 0.216 326.0);
Tailwind
colors: {
  custom: {
    50: '#cf7ad0',
    500: '#b539bb',
    950: '#000000',
  },
}
SCSS
$custom: #b539bb;
$custom-light: #cf7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b539bb",
  "rgb": {
    "r": 181,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 297.231,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.21585,
    "h": 326
  },
  "luminance": 0.16338
}

Semantic roles & 50–950 ramp

primary
#B539BB
secondary
#8AC887
accent
#DD4B52
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B539BB

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

Preview Lab → · Contrast checker → · Palette generator →

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