#B536A7#B536A7

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

Color values

HEX#B536A7
RGBrgb(181, 54, 167)
HSLhsl(307, 54%, 46%)
HSVhsv(307, 70%, 71%)
CMYKcmyk(0%, 70.2%, 7.7%, 29%)
CIE-LABlab(45.98, 62.94, -34.02)
CIE-LCHlch(45.98, 71.55, 331.61°)
OKLaboklab(56.11% 0.1812 -0.0933)
OKLCHoklch(56.11% 0.204 332.8)
XYZxyz(27.3504, 15.2543, 38.0556)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536A7 #36B544
analogous
#8336B5 #B536A7 #B53667
triadic
#B536A7 #A7B536 #36A7B5
tetradic
#B536A7 #B58336 #36B544 #3667B5
square
#B536A7 #B58336 #36B544 #3667B5
split-complementary
#B536A7 #67B536 #36B583
monochromatic
#571A50 #86287C #B536A7 #CE5AC1 #DC89D3

Accessibility & contrast

On white

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

On black

4.05
#B536A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B536A7#FFFFFF#000000##FFFFFF
##B536A71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061AA
Deuteranopia (green-blind)
#5F73A4
Tritanopia (blue-blind)
#BD426A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b536a7;
/* rgb */ color: rgb(181, 54, 167);
/* oklch */ color: oklch(56.1% 0.204 332.8);
Tailwind
colors: {
  custom: {
    50: '#cf78c1',
    500: '#b536a7',
    950: '#000000',
  },
}
SCSS
$custom: #b536a7;
$custom-light: #cf78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b536a7",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 306.614,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.20384,
    "h": 332.8
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#B536A7
secondary
#81C688
accent
#DD5B4A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B536A7

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

Preview Lab → · Contrast checker → · Palette generator →

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