#B536B7#B536B7

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

Color values

HEX#B536B7
RGBrgb(181, 54, 183)
HSLhsl(299, 54%, 46%)
HSVhsv(299, 70%, 72%)
CMYKcmyk(1.1%, 70.5%, 0%, 28.2%)
CIE-LABlab(46.82, 65.53, -42.12)
CIE-LCHlch(46.82, 77.90, 327.27°)
OKLaboklab(56.99% 0.1819 -0.1167)
OKLCHoklch(56.99% 0.216 327.3)
XYZxyz(28.9220, 15.8830, 46.3330)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536B7 #38B736
analogous
#7536B7 #B536B7 #B73679
triadic
#B536B7 #B7B536 #36B7B5
tetradic
#B536B7 #B77536 #38B736 #3679B7
square
#B536B7 #B77536 #38B736 #3679B7
split-complementary
#B536B7 #79B736 #36B775
monochromatic
#581A58 #862888 #B536B7 #CD5BCF #DB8BDD

Accessibility & contrast

On white

5.03
#B536B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B536B7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536B7#FFFFFF#000000##FFFFFF
##B536B71.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BB
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#BA4A73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b536b7;
/* rgb */ color: rgb(181, 54, 183);
/* oklch */ color: oklch(57.0% 0.216 327.3);
Tailwind
colors: {
  custom: {
    50: '#cf79cd',
    500: '#b536b7',
    950: '#000000',
  },
}
SCSS
$custom: #b536b7;
$custom-light: #cf79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b536b7",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 299.07,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56989,
    "c": 0.2161,
    "h": 327.3
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#B536B7
secondary
#83C782
accent
#DE4A4C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B536B7

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

Preview Lab → · Contrast checker → · Palette generator →

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