#B536A8#B536A8

#B536A8 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.205 H 332.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B536A8
RGBrgb(181, 54, 168)
HSLhsl(306, 54%, 46%)
HSVhsv(306, 70%, 71%)
CMYKcmyk(0%, 70.2%, 7.2%, 29%)
CIE-LABlab(46.03, 63.10, -34.53)
CIE-LCHlch(46.03, 71.93, 331.31°)
OKLaboklab(56.17% 0.1813 -0.0948)
OKLCHoklch(56.17% 0.205 332.4)
XYZxyz(27.4432, 15.2915, 38.5444)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536A8 #36B543
analogous
#8236B5 #B536A8 #B53668
triadic
#B536A8 #A8B536 #36A8B5
tetradic
#B536A8 #B58236 #36B543 #3668B5
square
#B536A8 #B58236 #36B543 #3668B5
split-complementary
#B536A8 #68B536 #36B582
monochromatic
#571A50 #86287C #B536A8 #CE5AC2 #DC89D3

Accessibility & contrast

On white

5.18
#B536A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B536A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B536A8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536A8#FFFFFF#000000##FFFFFF
##B536A81.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F61AB
Deuteranopia (green-blind)
#5E73A5
Tritanopia (blue-blind)
#BD436B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b536a8;
/* rgb */ color: rgb(181, 54, 168);
/* oklch */ color: oklch(56.2% 0.205 332.4);
Tailwind
colors: {
  custom: {
    50: '#cf78c2',
    500: '#b536a8',
    950: '#000000',
  },
}
SCSS
$custom: #b536a8;
$custom-light: #cf78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b536a8",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 306.142,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56165,
    "c": 0.20458,
    "h": 332.4
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#B536A8
secondary
#81C688
accent
#DD594A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B536A8

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

Preview Lab → · Contrast checker → · Palette generator →

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