#B546D7#B546D7

#B546D7 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.224 H 317.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B546D7
RGBrgb(181, 70, 215)
HSLhsl(286, 64%, 56%)
HSVhsv(286, 67%, 84%)
CMYKcmyk(15.8%, 67.4%, 0%, 15.7%)
CIE-LABlab(50.82, 65.22, -54.23)
CIE-LCHlch(50.82, 84.82, 320.26°)
OKLaboklab(60.45% 0.1645 -0.1522)
OKLCHoklch(60.45% 0.224 317.2)
XYZxyz(33.5102, 19.1117, 66.2006)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B546D7 #68D746
analogous
#6C46D7 #B546D7 #D746B0
triadic
#B546D7 #D7B546 #46D7B5
tetradic
#B546D7 #D76C46 #68D746 #46B0D7
square
#B546D7 #D76C46 #68D746 #46B0D7
split-complementary
#B546D7 #B0D746 #46D76C
monochromatic
#6D1D86 #9628B8 #B546D7 #C978E2 #DDABED

Accessibility & contrast

On white

4.36
#B546D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B546D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B546D7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B546D7#FFFFFF#000000##000000
##B546D71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#497CD4
Tritanopia (blue-blind)
#B46289
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b546d7;
/* rgb */ color: rgb(181, 70, 215);
/* oklch */ color: oklch(60.4% 0.224 317.2);
Tailwind
colors: {
  custom: {
    50: '#cf82e4',
    500: '#b546d7',
    950: '#000000',
  },
}
SCSS
$custom: #b546d7;
$custom-light: #cf82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b546d7",
  "rgb": {
    "r": 181,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 285.931,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60447,
    "c": 0.22413,
    "h": 317.2
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

primary
#B546D7
secondary
#ACDA9E
accent
#E74068
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B546D7

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

Preview Lab → · Contrast checker → · Palette generator →

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