#B537D9#B537D9

#B537D9 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.2% C 0.243 H 317.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B537D9
RGBrgb(181, 55, 217)
HSLhsl(287, 68%, 53%)
HSVhsv(287, 75%, 85%)
CMYKcmyk(16.6%, 74.7%, 0%, 14.9%)
CIE-LABlab(48.97, 71.20, -58.34)
CIE-LCHlch(48.97, 92.05, 320.67°)
OKLaboklab(59.17% 0.1789 -0.1641)
OKLCHoklch(59.17% 0.243 317.5)
XYZxyz(32.9448, 17.5673, 67.2877)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537D9 #5BD937
analogous
#6437D9 #B537D9 #D937AC
triadic
#B537D9 #D9B537 #37D9B5
tetradic
#B537D9 #D96437 #5BD937 #37ACD9
square
#B537D9 #D96437 #5BD937 #37ACD9
split-complementary
#B537D9 #ACD937 #37D964
monochromatic
#67187E #9122B1 #B537D9 #C86AE3 #DB9EED

Accessibility & contrast

On white

4.65
#B537D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B537D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B537D9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537D9#FFFFFF#000000##FFFFFF
##B537D91.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b537d9;
/* rgb */ color: rgb(181, 55, 217);
/* oklch */ color: oklch(59.2% 0.243 317.5);
Tailwind
colors: {
  custom: {
    50: '#d07be5',
    500: '#b537d9',
    950: '#000000',
  },
}
SCSS
$custom: #b537d9;
$custom-light: #d07be5;
$custom-dark: #000000;
JSON
{
  "hex": "#b537d9",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 286.667,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.24277,
    "h": 317.5
  },
  "luminance": 0.17566
}

Semantic roles & 50–950 ramp

primary
#B537D9
secondary
#A3D993
accent
#EB3D64
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B537D9

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

Preview Lab → · Contrast checker → · Palette generator →

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