#B539DB#B539DB

#B539DB is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.5% C 0.242 H 316.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B539DB
RGBrgb(181, 57, 219)
HSLhsl(286, 69%, 54%)
HSVhsv(286, 74%, 86%)
CMYKcmyk(17.4%, 74%, 0%, 14.1%)
CIE-LABlab(49.33, 70.89, -58.89)
CIE-LCHlch(49.33, 92.16, 320.28°)
OKLaboklab(59.47% 0.1769 -0.1658)
OKLCHoklch(59.47% 0.242 316.9)
XYZxyz(33.3034, 17.8659, 68.6983)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B539DB #5FDB39
analogous
#6439DB #B539DB #DB39B0
triadic
#B539DB #DBB539 #39DBB5
tetradic
#B539DB #DB6439 #5FDB39 #39B0DB
square
#B539DB #DB6439 #5FDB39 #39B0DB
split-complementary
#B539DB #B0DB39 #39DB64
monochromatic
#691882 #9321B6 #B539DB #C86DE4 #DCA1EE

Accessibility & contrast

On white

4.59
#B539DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B539DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B539DB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B539DB#FFFFFF#000000##FFFFFF
##B539DB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#3B79D7
Tritanopia (blue-blind)
#B35C88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b539db;
/* rgb */ color: rgb(181, 57, 219);
/* oklch */ color: oklch(59.5% 0.242 316.9);
Tailwind
colors: {
  custom: {
    50: '#d07ce7',
    500: '#b539db',
    950: '#000000',
  },
}
SCSS
$custom: #b539db;
$custom-light: #d07ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#b539db",
  "rgb": {
    "r": 181,
    "g": 57,
    "b": 219
  },
  "hsl": {
    "h": 285.926,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.24242,
    "h": 316.9
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#B539DB
secondary
#A6DA95
accent
#EC3C65
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B539DB

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

Preview Lab → · Contrast checker → · Palette generator →

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