#B539CA#B539CA

#B539CA is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.228 H 321.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B539CA
RGBrgb(181, 57, 202)
HSLhsl(291, 58%, 51%)
HSVhsv(291, 72%, 79%)
CMYKcmyk(10.4%, 71.8%, 0%, 20.8%)
CIE-LABlab(48.28, 67.76, -50.84)
CIE-LCHlch(48.28, 84.71, 323.12°)
OKLaboklab(58.38% 0.1784 -0.1422)
OKLCHoklch(58.38% 0.228 321.4)
XYZxyz(31.1787, 17.0160, 57.5078)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B539CA #4ECA39
analogous
#6C39CA #B539CA #CA3997
triadic
#B539CA #CAB539 #39CAB5
tetradic
#B539CA #CA6C39 #4ECA39 #3997CA
square
#B539CA #CA6C39 #4ECA39 #3997CA
split-complementary
#B539CA #97CA39 #39CA6C
monochromatic
#601D6C #8B2A9C #B539CA #C769D7 #D99AE4

Accessibility & contrast

On white

4.77
#B539CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B539CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B539CA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B539CA#FFFFFF#000000##FFFFFF
##B539CA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4B77C7
Tritanopia (blue-blind)
#B7547E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b539ca;
/* rgb */ color: rgb(181, 57, 202);
/* oklch */ color: oklch(58.4% 0.228 321.4);
Tailwind
colors: {
  custom: {
    50: '#cf7bdb',
    500: '#b539ca',
    950: '#000000',
  },
}
SCSS
$custom: #b539ca;
$custom-light: #cf7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b539ca",
  "rgb": {
    "r": 181,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 291.31,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58383,
    "c": 0.22813,
    "h": 321.4
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

primary
#B539CA
secondary
#99D08F
accent
#E1475D
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B539CA

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

Preview Lab → · Contrast checker → · Palette generator →

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