#B536A1#B536A1

#B536A1 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.8% C 0.199 H 335.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B536A1
RGBrgb(181, 54, 161)
HSLhsl(309, 54%, 46%)
HSVhsv(309, 70%, 71%)
CMYKcmyk(0%, 70.2%, 11%, 29%)
CIE-LABlab(45.69, 62.02, -30.91)
CIE-LCHlch(45.69, 69.30, 333.51°)
OKLaboklab(55.8% 0.1807 -0.0844)
OKLCHoklch(55.8% 0.199 335)
XYZxyz(26.8085, 15.0376, 35.2019)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536A1 #36B54A
analogous
#8936B5 #B536A1 #B53661
triadic
#B536A1 #A1B536 #36A1B5
tetradic
#B536A1 #B58936 #36B54A #3661B5
square
#B536A1 #B58936 #36B54A #3661B5
split-complementary
#B536A1 #61B536 #36B589
monochromatic
#571A4D #862877 #B536A1 #CE5ABC #DC89CF

Accessibility & contrast

On white

5.24
#B536A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B536A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B536A1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536A1#FFFFFF#000000##FFFFFF
##B536A11.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#61739E
Tritanopia (blue-blind)
#BE4067
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b536a1;
/* rgb */ color: rgb(181, 54, 161);
/* oklch */ color: oklch(55.8% 0.199 335.0);
Tailwind
colors: {
  custom: {
    50: '#cf78bd',
    500: '#b536a1',
    950: '#000000',
  },
}
SCSS
$custom: #b536a1;
$custom-light: #cf78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b536a1",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 161
  },
  "hsl": {
    "h": 309.449,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.19943,
    "h": 335
  },
  "luminance": 0.15035
}

Semantic roles & 50–950 ramp

primary
#B536A1
secondary
#81C68C
accent
#DD624A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B536A1

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

Preview Lab → · Contrast checker → · Palette generator →

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