#B545D8#B545D8

#B545D8 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.226 H 317.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B545D8
RGBrgb(181, 69, 216)
HSLhsl(286, 65%, 56%)
HSVhsv(286, 68%, 85%)
CMYKcmyk(16.2%, 68.1%, 0%, 15.3%)
CIE-LABlab(50.73, 65.82, -54.94)
CIE-LCHlch(50.73, 85.73, 320.15°)
OKLaboklab(60.41% 0.1655 -0.1542)
OKLCHoklch(60.41% 0.226 317)
XYZxyz(33.5770, 19.0392, 66.8587)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545D8 #68D845
analogous
#6B45D8 #B545D8 #D845B1
triadic
#B545D8 #D8B545 #45D8B5
tetradic
#B545D8 #D86B45 #68D845 #45B1D8
square
#B545D8 #D86B45 #68D845 #45B1D8
split-complementary
#B545D8 #B1D845 #45D86B
monochromatic
#6D1C86 #9627B9 #B545D8 #C978E3 #DDAAED

Accessibility & contrast

On white

4.37
#B545D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B545D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545D8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545D8#FFFFFF#000000##000000
##B545D81.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#487CD5
Tritanopia (blue-blind)
#B36189
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b545d8;
/* rgb */ color: rgb(181, 69, 216);
/* oklch */ color: oklch(60.4% 0.226 317.0);
Tailwind
colors: {
  custom: {
    50: '#cf81e5',
    500: '#b545d8',
    950: '#000000',
  },
}
SCSS
$custom: #b545d8;
$custom-light: #cf81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b545d8",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 285.714,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60406,
    "c": 0.22627,
    "h": 317
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#B545D8
secondary
#ACDB9E
accent
#E84068
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B545D8

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

Preview Lab → · Contrast checker → · Palette generator →

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