#B545D9#B545D9

#B545D9 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.227 H 316.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B545D9
RGBrgb(181, 69, 217)
HSLhsl(285, 66%, 56%)
HSVhsv(285, 68%, 85%)
CMYKcmyk(16.6%, 68.2%, 0%, 14.9%)
CIE-LABlab(50.79, 66.01, -55.41)
CIE-LCHlch(50.79, 86.18, 319.99°)
OKLaboklab(60.47% 0.1655 -0.1556)
OKLCHoklch(60.47% 0.227 316.8)
XYZxyz(33.7067, 19.0911, 67.5416)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545D9 #69D945
analogous
#6B45D9 #B545D9 #D945B3
triadic
#B545D9 #D9B545 #45D9B5
tetradic
#B545D9 #D96B45 #69D945 #45B3D9
square
#B545D9 #D96B45 #69D945 #45B3D9
split-complementary
#B545D9 #B3D945 #45D96B
monochromatic
#6E1C88 #9726BB #B545D9 #C978E3 #DDABEE

Accessibility & contrast

On white

4.36
#B545D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B545D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545D9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545D9#FFFFFF#000000##000000
##B545D91.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#477CD6
Tritanopia (blue-blind)
#B3628A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b545d9;
/* rgb */ color: rgb(181, 69, 217);
/* oklch */ color: oklch(60.5% 0.227 316.8);
Tailwind
colors: {
  custom: {
    50: '#cf81e5',
    500: '#b545d9',
    950: '#000000',
  },
}
SCSS
$custom: #b545d9;
$custom-light: #cf81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b545d9",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 285.405,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60469,
    "c": 0.22717,
    "h": 316.8
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#B545D9
secondary
#ADDB9E
accent
#E93F68
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B545D9

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

Preview Lab → · Contrast checker → · Palette generator →

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