#B545D1#B545D1

#B545D1 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.220 H 318.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B545D1
RGBrgb(181, 69, 209)
HSLhsl(288, 60%, 55%)
HSVhsv(288, 67%, 82%)
CMYKcmyk(13.4%, 67%, 0%, 18%)
CIE-LABlab(50.32, 64.48, -51.60)
CIE-LCHlch(50.32, 82.58, 321.33°)
OKLaboklab(59.97% 0.1659 -0.1445)
OKLCHoklch(59.97% 0.22 318.9)
XYZxyz(32.6913, 18.6849, 62.1938)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545D1 #61D145
analogous
#6F45D1 #B545D1 #D145A7
triadic
#B545D1 #D1B545 #45D1B5
tetradic
#B545D1 #D16F45 #61D145 #45A7D1
square
#B545D1 #D16F45 #61D145 #45A7D1
split-complementary
#B545D1 #A7D145 #45D16F
monochromatic
#6A1F7D #942BAE #B545D1 #C976DD #DCA7E9

Accessibility & contrast

On white

4.43
#B545D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B545D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545D1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545D1#FFFFFF#000000##000000
##B545D11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0870D5
Deuteranopia (green-blind)
#4E7BCE
Tritanopia (blue-blind)
#B55F86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b545d1;
/* rgb */ color: rgb(181, 69, 209);
/* oklch */ color: oklch(60.0% 0.220 318.9);
Tailwind
colors: {
  custom: {
    50: '#cf81e0',
    500: '#b545d1',
    950: '#000000',
  },
}
SCSS
$custom: #b545d1;
$custom-light: #cf81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b545d1",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 288,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.21999,
    "h": 318.9
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#B545D1
secondary
#A7D79B
accent
#E34464
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B545D1

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

Preview Lab → · Contrast checker → · Palette generator →

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