#B546D2#B546D2

#B546D2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.1% C 0.220 H 318.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B546D2
RGBrgb(181, 70, 210)
HSLhsl(288, 61%, 55%)
HSVhsv(288, 67%, 82%)
CMYKcmyk(13.8%, 66.7%, 0%, 17.6%)
CIE-LABlab(50.52, 64.26, -51.85)
CIE-LCHlch(50.52, 82.57, 321.10°)
OKLaboklab(60.14% 0.1648 -0.1452)
OKLCHoklch(60.14% 0.22 318.6)
XYZxyz(32.8775, 18.8587, 62.8685)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B546D2 #63D246
analogous
#6F46D2 #B546D2 #D246A9
triadic
#B546D2 #D2B546 #46D2B5
tetradic
#B546D2 #D26F46 #63D246 #46A9D2
square
#B546D2 #D26F46 #63D246 #46A9D2
split-complementary
#B546D2 #A9D246 #46D26F
monochromatic
#6B1F7F #942BB0 #B546D2 #C977DE #DCA8EA

Accessibility & contrast

On white

4.40
#B546D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B546D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B546D2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B546D2#FFFFFF#000000##000000
##B546D21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0971D6
Deuteranopia (green-blind)
#4E7CCF
Tritanopia (blue-blind)
#B56087
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b546d2;
/* rgb */ color: rgb(181, 70, 210);
/* oklch */ color: oklch(60.1% 0.220 318.6);
Tailwind
colors: {
  custom: {
    50: '#cf82e0',
    500: '#b546d2',
    950: '#000000',
  },
}
SCSS
$custom: #b546d2;
$custom-light: #cf82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b546d2",
  "rgb": {
    "r": 181,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 287.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6014,
    "c": 0.21963,
    "h": 318.6
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#B546D2
secondary
#A9D79C
accent
#E44465
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B546D2

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

Preview Lab → · Contrast checker → · Palette generator →

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