#B536C2#B536C2

#B536C2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.225 H 323.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B536C2
RGBrgb(181, 54, 194)
HSLhsl(294, 56%, 49%)
HSVhsv(294, 72%, 76%)
CMYKcmyk(6.7%, 72.2%, 0%, 23.9%)
CIE-LABlab(47.44, 67.40, -47.55)
CIE-LCHlch(47.44, 82.48, 324.80°)
OKLaboklab(57.63% 0.1817 -0.1325)
OKLCHoklch(57.63% 0.225 323.9)
XYZxyz(30.1120, 16.3590, 52.6000)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536C2 #43C236
analogous
#6F36C2 #B536C2 #C23689
triadic
#B536C2 #C2B536 #36C2B5
tetradic
#B536C2 #C26F36 #43C236 #3689C2
square
#B536C2 #C26F36 #43C236 #3689C2
split-complementary
#B536C2 #89C236 #36C26F
monochromatic
#5C1B62 #882992 #B536C2 #C962D3 #D992E1

Accessibility & contrast

On white

4.92
#B536C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B536C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B536C2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536C2#FFFFFF#000000##FFFFFF
##B536C21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#4F76BF
Tritanopia (blue-blind)
#B84F79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b536c2;
/* rgb */ color: rgb(181, 54, 194);
/* oklch */ color: oklch(57.6% 0.225 323.9);
Tailwind
colors: {
  custom: {
    50: '#cf79d5',
    500: '#b536c2',
    950: '#000000',
  },
}
SCSS
$custom: #b536c2;
$custom-light: #cf79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b536c2",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 294.429,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57634,
    "c": 0.22487,
    "h": 323.9
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#B536C2
secondary
#8FCC88
accent
#E04856
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B536C2

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

Preview Lab → · Contrast checker → · Palette generator →

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