#B539B7#B539B7

#B539B7 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.213 H 327.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B539B7
RGBrgb(181, 57, 183)
HSLhsl(299, 53%, 47%)
HSVhsv(299, 69%, 72%)
CMYKcmyk(1.1%, 68.9%, 0%, 28.2%)
CIE-LABlab(47.20, 64.46, -41.52)
CIE-LCHlch(47.20, 76.67, 327.21°)
OKLaboklab(57.26% 0.1788 -0.115)
OKLCHoklch(57.26% 0.213 327.3)
XYZxyz(29.0660, 16.1709, 46.3809)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B539B7 #3BB739
analogous
#7639B7 #B539B7 #B7397A
triadic
#B539B7 #B7B539 #39B7B5
tetradic
#B539B7 #B77639 #3BB739 #397AB7
square
#B539B7 #B77639 #3BB739 #397AB7
split-complementary
#B539B7 #7AB739 #39B776
monochromatic
#591C5A #872A88 #B539B7 #CC60CD #DB8EDC

Accessibility & contrast

On white

4.96
#B539B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B539B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B539B7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B539B7#FFFFFF#000000##FFFFFF
##B539B71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BB
Deuteranopia (green-blind)
#5875B4
Tritanopia (blue-blind)
#BA4C74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b539b7;
/* rgb */ color: rgb(181, 57, 183);
/* oklch */ color: oklch(57.3% 0.213 327.3);
Tailwind
colors: {
  custom: {
    50: '#cf7acd',
    500: '#b539b7',
    950: '#000000',
  },
}
SCSS
$custom: #b539b7;
$custom-light: #cf7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#b539b7",
  "rgb": {
    "r": 181,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 299.048,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5726,
    "c": 0.21264,
    "h": 327.3
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#B539B7
secondary
#86C785
accent
#DC4C4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B539B7

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

Preview Lab → · Contrast checker → · Palette generator →

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