#B536C6#B536C6

#B536C6 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.228 H 322.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B536C6
RGBrgb(181, 54, 198)
HSLhsl(293, 57%, 49%)
HSVhsv(293, 73%, 78%)
CMYKcmyk(8.6%, 72.7%, 0%, 22.4%)
CIE-LABlab(47.68, 68.10, -49.49)
CIE-LCHlch(47.68, 84.18, 323.99°)
OKLaboklab(57.88% 0.1815 -0.1382)
OKLCHoklch(57.88% 0.228 322.7)
XYZxyz(30.5673, 16.5411, 54.9978)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536C6 #47C636
analogous
#6D36C6 #B536C6 #C6368F
triadic
#B536C6 #C6B536 #36C6B5
tetradic
#B536C6 #C66D36 #47C636 #368FC6
square
#B536C6 #C66D36 #47C636 #368FC6
split-complementary
#B536C6 #8FC636 #36C66D
monochromatic
#5D1C66 #892996 #B536C6 #C864D5 #D994E2

Accessibility & contrast

On white

4.87
#B536C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B536C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B536C6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536C6#FFFFFF#000000##FFFFFF
##B536C61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#4C76C3
Tritanopia (blue-blind)
#B7517B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b536c6;
/* rgb */ color: rgb(181, 54, 198);
/* oklch */ color: oklch(57.9% 0.228 322.7);
Tailwind
colors: {
  custom: {
    50: '#cf7ad8',
    500: '#b536c6',
    950: '#000000',
  },
}
SCSS
$custom: #b536c6;
$custom-light: #cf7ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#b536c6",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 292.917,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.22811,
    "h": 322.7
  },
  "luminance": 0.16539
}

Semantic roles & 50–950 ramp

primary
#B536C6
secondary
#93CD8B
accent
#E04759
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B536C6

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

Preview Lab → · Contrast checker → · Palette generator →

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