#B536D9#B536D9

#B536D9 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.1% C 0.244 H 317.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B536D9
RGBrgb(181, 54, 217)
HSLhsl(287, 68%, 53%)
HSVhsv(287, 75%, 85%)
CMYKcmyk(16.6%, 75.1%, 0%, 14.9%)
CIE-LABlab(48.85, 71.53, -58.53)
CIE-LCHlch(48.85, 92.42, 320.71°)
OKLaboklab(59.09% 0.1797 -0.1647)
OKLCHoklch(59.09% 0.244 317.5)
XYZxyz(32.8978, 17.4733, 67.2720)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B536D9 #5AD936
analogous
#6336D9 #B536D9 #D936AC
triadic
#B536D9 #D9B536 #36D9B5
tetradic
#B536D9 #D96336 #5AD936 #36ACD9
square
#B536D9 #D96336 #5AD936 #36ACD9
split-complementary
#B536D9 #ACD936 #36D963
monochromatic
#67187D #9121B0 #B536D9 #C869E3 #DB9DEC

Accessibility & contrast

On white

4.67
#B536D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B536D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B536D9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B536D9#FFFFFF#000000##FFFFFF
##B536D91.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#3B78D5
Tritanopia (blue-blind)
#B35986
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b536d9;
/* rgb */ color: rgb(181, 54, 217);
/* oklch */ color: oklch(59.1% 0.244 317.5);
Tailwind
colors: {
  custom: {
    50: '#d07ae5',
    500: '#b536d9',
    950: '#000000',
  },
}
SCSS
$custom: #b536d9;
$custom-light: #d07ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#b536d9",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 286.748,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.24377,
    "h": 317.5
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#B536D9
secondary
#A2D992
accent
#EB3D63
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B536D9

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

Preview Lab → · Contrast checker → · Palette generator →

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