#B536A4#B536A4

#B536A4 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.202 H 333.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B536A4
RGBrgb(181, 54, 164)
HSLhsl(308, 54%, 46%)
HSVhsv(308, 70%, 71%)
CMYKcmyk(0%, 70.2%, 9.4%, 29%)
CIE-LABlab(45.83, 62.48, -32.47)
CIE-LCHlch(45.83, 70.41, 332.54°)
OKLaboklab(55.96% 0.181 -0.0889)
OKLCHoklch(55.96% 0.202 333.8)
XYZxyz(27.0763, 15.1447, 36.6119)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536A4 #36B547
analogous
#8636B5 #B536A4 #B53664
triadic
#B536A4 #A4B536 #36A4B5
tetradic
#B536A4 #B58636 #36B547 #3664B5
square
#B536A4 #B58636 #36B547 #3664B5
split-complementary
#B536A4 #64B536 #36B586
monochromatic
#571A4F #862879 #B536A4 #CE5ABE #DC89D1

Accessibility & contrast

On white

5.21
#B536A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B536A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B536A4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536A4#FFFFFF#000000##FFFFFF
##B536A41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#BD4169
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b536a4;
/* rgb */ color: rgb(181, 54, 164);
/* oklch */ color: oklch(56.0% 0.202 333.8);
Tailwind
colors: {
  custom: {
    50: '#cf78bf',
    500: '#b536a4',
    950: '#000000',
  },
}
SCSS
$custom: #b536a4;
$custom-light: #cf78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b536a4",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 308.031,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55957,
    "c": 0.20162,
    "h": 333.8
  },
  "luminance": 0.15142
}

Semantic roles & 50–950 ramp

primary
#B536A4
secondary
#81C68A
accent
#DD5E4A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B536A4

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

Preview Lab → · Contrast checker → · Palette generator →

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