#B546DB#B546DB

#B546DB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.228 H 316.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B546DB
RGBrgb(181, 70, 219)
HSLhsl(285, 67%, 57%)
HSVhsv(285, 68%, 86%)
CMYKcmyk(17.4%, 68%, 0%, 14.1%)
CIE-LABlab(51.06, 65.99, -56.12)
CIE-LCHlch(51.06, 86.63, 319.62°)
OKLaboklab(60.7% 0.1643 -0.1577)
OKLCHoklch(60.7% 0.228 316.2)
XYZxyz(34.0304, 19.3199, 68.9406)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B546DB #6CDB46
analogous
#6B46DB #B546DB #DB46B7
triadic
#B546DB #DBB546 #46DBB5
tetradic
#B546DB #DB6B46 #6CDB46 #46B7DB
square
#B546DB #DB6B46 #6CDB46 #46B7DB
split-complementary
#B546DB #B7DB46 #46DB6B
monochromatic
#6F1B8B #9825BF #B546DB #C979E5 #DEACEF

Accessibility & contrast

On white

4.32
#B546DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B546DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B546DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B546DB#FFFFFF#000000##000000
##B546DB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#467DD8
Tritanopia (blue-blind)
#B3638B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b546db;
/* rgb */ color: rgb(181, 70, 219);
/* oklch */ color: oklch(60.7% 0.228 316.2);
Tailwind
colors: {
  custom: {
    50: '#cf82e7',
    500: '#b546db',
    950: '#000000',
  },
}
SCSS
$custom: #b546db;
$custom-light: #cf82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b546db",
  "rgb": {
    "r": 181,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 284.698,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.22776,
    "h": 316.2
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#B546DB
secondary
#AFDDA0
accent
#EA3D6A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B546DB

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

Preview Lab → · Contrast checker → · Palette generator →

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