#B545D3#B545D3

#B545D3 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.222 H 318.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B545D3
RGBrgb(181, 69, 211)
HSLhsl(287, 62%, 55%)
HSVhsv(287, 67%, 83%)
CMYKcmyk(14.2%, 67.3%, 0%, 17.3%)
CIE-LABlab(50.43, 64.86, -52.56)
CIE-LCHlch(50.43, 83.48, 320.98°)
OKLaboklab(60.1% 0.1658 -0.1473)
OKLCHoklch(60.1% 0.222 318.4)
XYZxyz(32.9404, 18.7846, 63.5060)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545D3 #63D345
analogous
#6E45D3 #B545D3 #D345AA
triadic
#B545D3 #D3B545 #45D3B5
tetradic
#B545D3 #D36E45 #63D345 #45AAD3
square
#B545D3 #D36E45 #63D345 #45AAD3
split-complementary
#B545D3 #AAD345 #45D36E
monochromatic
#6B1E7F #942AB1 #B545D3 #C976DF #DCA8EA

Accessibility & contrast

On white

4.41
#B545D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B545D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545D3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545D3#FFFFFF#000000##000000
##B545D31.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D7
Deuteranopia (green-blind)
#4C7CD0
Tritanopia (blue-blind)
#B45F87
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b545d3;
/* rgb */ color: rgb(181, 69, 211);
/* oklch */ color: oklch(60.1% 0.222 318.4);
Tailwind
colors: {
  custom: {
    50: '#cf81e1',
    500: '#b545d3',
    950: '#000000',
  },
}
SCSS
$custom: #b545d3;
$custom-light: #cf81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b545d3",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 287.324,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60096,
    "c": 0.22178,
    "h": 318.4
  },
  "luminance": 0.18783
}

Semantic roles & 50–950 ramp

primary
#B545D3
secondary
#A9D89C
accent
#E54365
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B545D3

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

Preview Lab → · Contrast checker → · Palette generator →

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