#B536A5#B536A5

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

Color values

HEX#B536A5
RGBrgb(181, 54, 165)
HSLhsl(308, 54%, 46%)
HSVhsv(308, 70%, 71%)
CMYKcmyk(0%, 70.2%, 8.8%, 29%)
CIE-LABlab(45.88, 62.63, -32.99)
CIE-LCHlch(45.88, 70.79, 332.23°)
OKLaboklab(56.01% 0.1811 -0.0903)
OKLCHoklch(56.01% 0.202 333.5)
XYZxyz(27.1669, 15.1810, 37.0894)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536A5 #36B546
analogous
#8536B5 #B536A5 #B53665
triadic
#B536A5 #A5B536 #36A5B5
tetradic
#B536A5 #B58536 #36B546 #3665B5
square
#B536A5 #B58536 #36B546 #3665B5
split-complementary
#B536A5 #65B536 #36B585
monochromatic
#571A4F #86287A #B536A5 #CE5ABF #DC89D2

Accessibility & contrast

On white

5.20
#B536A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B536A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B536A5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536A5#FFFFFF#000000##FFFFFF
##B536A51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#6073A2
Tritanopia (blue-blind)
#BD4169
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b536a5;
/* rgb */ color: rgb(181, 54, 165);
/* oklch */ color: oklch(56.0% 0.202 333.5);
Tailwind
colors: {
  custom: {
    50: '#cf78c0',
    500: '#b536a5',
    950: '#000000',
  },
}
SCSS
$custom: #b536a5;
$custom-light: #cf78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b536a5",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 307.559,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.20236,
    "h": 333.5
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#B536A5
secondary
#81C689
accent
#DD5D4A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B536A5

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

Preview Lab → · Contrast checker → · Palette generator →

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