#B536B8#B536B8

#B536B8 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.217 H 327.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B536B8
RGBrgb(181, 54, 184)
HSLhsl(299, 55%, 47%)
HSVhsv(299, 71%, 72%)
CMYKcmyk(1.6%, 70.7%, 0%, 27.8%)
CIE-LABlab(46.88, 65.69, -42.62)
CIE-LCHlch(46.88, 78.31, 327.03°)
OKLaboklab(57.05% 0.1819 -0.1182)
OKLCHoklch(57.05% 0.217 327)
XYZxyz(29.0265, 15.9248, 46.8831)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536B8 #39B836
analogous
#7436B8 #B536B8 #B8367A
triadic
#B536B8 #B8B536 #36B8B5
tetradic
#B536B8 #B87436 #39B836 #367AB8
square
#B536B8 #B87436 #39B836 #367AB8
split-complementary
#B536B8 #7AB836 #36B874
monochromatic
#581A59 #862889 #B536B8 #CD5CCF #DB8BDD

Accessibility & contrast

On white

5.02
#B536B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B536B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B536B8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536B8#FFFFFF#000000##FFFFFF
##B536B81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B65BC
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#BA4A74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b536b8;
/* rgb */ color: rgb(181, 54, 184);
/* oklch */ color: oklch(57.0% 0.217 327.0);
Tailwind
colors: {
  custom: {
    50: '#cf79ce',
    500: '#b536b8',
    950: '#000000',
  },
}
SCSS
$custom: #b536b8;
$custom-light: #cf79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b536b8",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 298.615,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57046,
    "c": 0.21689,
    "h": 327
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#B536B8
secondary
#84C782
accent
#DE4A4D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B536B8

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

Preview Lab → · Contrast checker → · Palette generator →

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