#B539B5#B539B5

#B539B5 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.211 H 327.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B539B5
RGBrgb(181, 57, 181)
HSLhsl(300, 52%, 47%)
HSVhsv(300, 69%, 71%)
CMYKcmyk(0%, 68.5%, 0%, 29%)
CIE-LABlab(47.09, 64.12, -40.52)
CIE-LCHlch(47.09, 75.85, 327.71°)
OKLaboklab(57.15% 0.1788 -0.1121)
OKLCHoklch(57.15% 0.211 327.9)
XYZxyz(28.8593, 16.0882, 45.2924)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B539B5 #39B539
analogous
#7739B5 #B539B5 #B53977
triadic
#B539B5 #B5B539 #39B5B5
tetradic
#B539B5 #B57739 #39B539 #3977B5
square
#B539B5 #B57739 #39B539 #3977B5
split-complementary
#B539B5 #77B539 #39B577
monochromatic
#581C58 #862A86 #B539B5 #CD5FCD #DB8DDB

Accessibility & contrast

On white

4.98
#B539B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B539B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B539B5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B539B5#FFFFFF#000000##FFFFFF
##B539B51.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B9
Deuteranopia (green-blind)
#5975B2
Tritanopia (blue-blind)
#BB4B73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b539b5;
/* rgb */ color: rgb(181, 57, 181);
/* oklch */ color: oklch(57.1% 0.211 327.9);
Tailwind
colors: {
  custom: {
    50: '#cf7acb',
    500: '#b539b5',
    950: '#000000',
  },
}
SCSS
$custom: #b539b5;
$custom-light: #cf7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#b539b5",
  "rgb": {
    "r": 181,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 300,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.21105,
    "h": 327.9
  },
  "luminance": 0.16086
}

Semantic roles & 50–950 ramp

primary
#B539B5
secondary
#84C684
accent
#DC4C4C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B539B5

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

Preview Lab → · Contrast checker → · Palette generator →

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