#B546DC#B546DC

#B546DC is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.8% C 0.229 H 315.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B546DC
RGBrgb(181, 70, 220)
HSLhsl(284, 68%, 57%)
HSVhsv(284, 68%, 86%)
CMYKcmyk(17.7%, 68.2%, 0%, 13.7%)
CIE-LABlab(51.12, 66.19, -56.59)
CIE-LCHlch(51.12, 87.08, 319.47°)
OKLaboklab(60.76% 0.1642 -0.1591)
OKLCHoklch(60.76% 0.229 315.9)
XYZxyz(34.1625, 19.3727, 69.6360)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B546DC #6DDC46
analogous
#6A46DC #B546DC #DC46B8
triadic
#B546DC #DCB546 #46DCB5
tetradic
#B546DC #DC6A46 #6DDC46 #46B8DC
square
#B546DC #DC6A46 #6DDC46 #46B8DC
split-complementary
#B546DC #B8DC46 #46DC6A
monochromatic
#6F1B8D #9824C0 #B546DC #CA79E6 #DEADEF

Accessibility & contrast

On white

4.31
#B546DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B546DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B546DC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B546DC#FFFFFF#000000##000000
##B546DC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#B2648C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b546dc;
/* rgb */ color: rgb(181, 70, 220);
/* oklch */ color: oklch(60.8% 0.229 315.9);
Tailwind
colors: {
  custom: {
    50: '#cf82e8',
    500: '#b546dc',
    950: '#000000',
  },
}
SCSS
$custom: #b546dc;
$custom-light: #cf82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b546dc",
  "rgb": {
    "r": 181,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 284.4,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.22867,
    "h": 315.9
  },
  "luminance": 0.19371
}

Semantic roles & 50–950 ramp

primary
#B546DC
secondary
#B0DDA0
accent
#EB3D6A
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B546DC

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

Preview Lab → · Contrast checker → · Palette generator →

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