#B536C4#B536C4

#B536C4 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.226 H 323.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B536C4
RGBrgb(181, 54, 196)
HSLhsl(294, 57%, 49%)
HSVhsv(294, 72%, 77%)
CMYKcmyk(7.7%, 72.4%, 0%, 23.1%)
CIE-LABlab(47.56, 67.75, -48.52)
CIE-LCHlch(47.56, 83.33, 324.39°)
OKLaboklab(57.76% 0.1816 -0.1354)
OKLCHoklch(57.76% 0.226 323.3)
XYZxyz(30.3381, 16.4494, 53.7909)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536C4 #45C436
analogous
#6E36C4 #B536C4 #C4368C
triadic
#B536C4 #C4B536 #36C4B5
tetradic
#B536C4 #C46E36 #45C436 #368CC4
square
#B536C4 #C46E36 #45C436 #368CC4
split-complementary
#B536C4 #8CC436 #36C46E
monochromatic
#5C1C64 #892994 #B536C4 #C863D4 #D993E1

Accessibility & contrast

On white

4.90
#B536C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B536C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B536C4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536C4#FFFFFF#000000##FFFFFF
##B536C41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#B8507A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b536c4;
/* rgb */ color: rgb(181, 54, 196);
/* oklch */ color: oklch(57.8% 0.226 323.3);
Tailwind
colors: {
  custom: {
    50: '#cf79d6',
    500: '#b536c4',
    950: '#000000',
  },
}
SCSS
$custom: #b536c4;
$custom-light: #cf79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b536c4",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 293.662,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.22648,
    "h": 323.3
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#B536C4
secondary
#91CC89
accent
#E04858
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B536C4

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

Preview Lab → · Contrast checker → · Palette generator →

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