#B546D4#B546D4

#B546D4 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.221 H 318.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B546D4
RGBrgb(181, 70, 212)
HSLhsl(287, 62%, 55%)
HSVhsv(287, 67%, 83%)
CMYKcmyk(14.6%, 67%, 0%, 16.9%)
CIE-LABlab(50.64, 64.64, -52.80)
CIE-LCHlch(50.64, 83.46, 320.75°)
OKLaboklab(60.26% 0.1647 -0.148)
OKLCHoklch(60.26% 0.221 318.1)
XYZxyz(33.1282, 18.9590, 64.1890)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B546D4 #65D446
analogous
#6E46D4 #B546D4 #D446AC
triadic
#B546D4 #D4B546 #46D4B5
tetradic
#B546D4 #D46E46 #65D446 #46ACD4
square
#B546D4 #D46E46 #65D446 #46ACD4
split-complementary
#B546D4 #ACD446 #46D46E
monochromatic
#6C1E81 #952AB3 #B546D4 #C978E0 #DDA9EB

Accessibility & contrast

On white

4.38
#B546D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B546D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B546D4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B546D4#FFFFFF#000000##000000
##B546D41.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#4C7CD1
Tritanopia (blue-blind)
#B46088
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b546d4;
/* rgb */ color: rgb(181, 70, 212);
/* oklch */ color: oklch(60.3% 0.221 318.1);
Tailwind
colors: {
  custom: {
    50: '#cf82e2',
    500: '#b546d4',
    950: '#000000',
  },
}
SCSS
$custom: #b546d4;
$custom-light: #cf82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b546d4",
  "rgb": {
    "r": 181,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 286.901,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.22143,
    "h": 318.1
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#B546D4
secondary
#AAD99D
accent
#E54266
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B546D4

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

Preview Lab → · Contrast checker → · Palette generator →

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