#B536AB#B536AB

#B536AB is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.207 H 331.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B536AB
RGBrgb(181, 54, 171)
HSLhsl(305, 54%, 46%)
HSVhsv(305, 70%, 71%)
CMYKcmyk(0%, 70.2%, 5.5%, 29%)
CIE-LABlab(46.18, 63.57, -36.07)
CIE-LCHlch(46.18, 73.09, 330.43°)
OKLaboklab(56.33% 0.1815 -0.0992)
OKLCHoklch(56.33% 0.207 331.3)
XYZxyz(27.7259, 15.4045, 40.0333)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536AB #36B540
analogous
#7F36B5 #B536AB #B5366B
triadic
#B536AB #ABB536 #36ABB5
tetradic
#B536AB #B57F36 #36B540 #366BB5
square
#B536AB #B57F36 #36B540 #366BB5
split-complementary
#B536AB #6BB536 #36B57F
monochromatic
#571A52 #86287E #B536AB #CE5AC5 #DC89D5

Accessibility & contrast

On white

5.15
#B536AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B536AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B536AB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536AB#FFFFFF#000000##FFFFFF
##B536AB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AE
Deuteranopia (green-blind)
#5D74A8
Tritanopia (blue-blind)
#BC446D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b536ab;
/* rgb */ color: rgb(181, 54, 171);
/* oklch */ color: oklch(56.3% 0.207 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf79c4',
    500: '#b536ab',
    950: '#000000',
  },
}
SCSS
$custom: #b536ab;
$custom-light: #cf79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b536ab",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 304.724,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.20684,
    "h": 331.3
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#B536AB
secondary
#81C686
accent
#DD564A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B536AB

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

Preview Lab → · Contrast checker → · Palette generator →

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