#B545D6#B545D6

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

Color values

HEX#B545D6
RGBrgb(181, 69, 214)
HSLhsl(286, 64%, 55%)
HSVhsv(286, 68%, 84%)
CMYKcmyk(15.4%, 67.8%, 0%, 16.1%)
CIE-LABlab(50.61, 65.43, -53.99)
CIE-LCHlch(50.61, 84.83, 320.47°)
OKLaboklab(60.28% 0.1657 -0.1515)
OKLCHoklch(60.28% 0.224 317.6)
XYZxyz(33.3200, 18.9364, 65.5053)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545D6 #66D645
analogous
#6C45D6 #B545D6 #D645AE
triadic
#B545D6 #D6B545 #45D6B5
tetradic
#B545D6 #D66C45 #66D645 #45AED6
square
#B545D6 #D66C45 #66D645 #45AED6
split-complementary
#B545D6 #AED645 #45D66C
monochromatic
#6C1D84 #9528B6 #B545D6 #C977E1 #DDA9EC

Accessibility & contrast

On white

4.39
#B545D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B545D6#FFFFFF#000000##000000
##B545D61.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#4A7CD3
Tritanopia (blue-blind)
#B46188
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b545d6;
/* rgb */ color: rgb(181, 69, 214);
/* oklch */ color: oklch(60.3% 0.224 317.6);
Tailwind
colors: {
  custom: {
    50: '#cf81e3',
    500: '#b545d6',
    950: '#000000',
  },
}
SCSS
$custom: #b545d6;
$custom-light: #cf81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b545d6",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 286.345,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60281,
    "c": 0.22447,
    "h": 317.6
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#B545D6
secondary
#ABDA9D
accent
#E74167
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B545D6

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

Preview Lab → · Contrast checker → · Palette generator →

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