#B536A2#B536A2

#B536A2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.200 H 334.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B536A2
RGBrgb(181, 54, 162)
HSLhsl(309, 54%, 46%)
HSVhsv(309, 70%, 71%)
CMYKcmyk(0%, 70.2%, 10.5%, 29%)
CIE-LABlab(45.73, 62.17, -31.43)
CIE-LCHlch(45.73, 69.66, 333.18°)
OKLaboklab(55.86% 0.1808 -0.0859)
OKLCHoklch(55.86% 0.2 334.6)
XYZxyz(26.8971, 15.0730, 35.6682)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536A2 #36B549
analogous
#8836B5 #B536A2 #B53662
triadic
#B536A2 #A2B536 #36A2B5
tetradic
#B536A2 #B58836 #36B549 #3662B5
square
#B536A2 #B58836 #36B549 #3662B5
split-complementary
#B536A2 #62B536 #36B588
monochromatic
#571A4E #862878 #B536A2 #CE5ABD #DC89D0

Accessibility & contrast

On white

5.23
#B536A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B536A2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536A2#FFFFFF#000000##FFFFFF
##B536A21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#BE4068
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b536a2;
/* rgb */ color: rgb(181, 54, 162);
/* oklch */ color: oklch(55.9% 0.200 334.6);
Tailwind
colors: {
  custom: {
    50: '#cf78be',
    500: '#b536a2',
    950: '#000000',
  },
}
SCSS
$custom: #b536a2;
$custom-light: #cf78be;
$custom-dark: #000000;
JSON
{
  "hex": "#b536a2",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 308.976,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55855,
    "c": 0.20016,
    "h": 334.6
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#B536A2
secondary
#81C68B
accent
#DD604A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B536A2

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

Preview Lab → · Contrast checker → · Palette generator →

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