#B545D5#B545D5

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

Color values

HEX#B545D5
RGBrgb(181, 69, 213)
HSLhsl(287, 63%, 55%)
HSVhsv(287, 68%, 84%)
CMYKcmyk(15%, 67.6%, 0%, 16.5%)
CIE-LABlab(50.55, 65.24, -53.51)
CIE-LCHlch(50.55, 84.38, 320.64°)
OKLaboklab(60.22% 0.1657 -0.1501)
OKLCHoklch(60.22% 0.224 317.8)
XYZxyz(33.1927, 18.8855, 64.8347)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545D5 #65D545
analogous
#6D45D5 #B545D5 #D545AD
triadic
#B545D5 #D5B545 #45D5B5
tetradic
#B545D5 #D56D45 #65D545 #45ADD5
square
#B545D5 #D56D45 #65D545 #45ADD5
split-complementary
#B545D5 #ADD545 #45D56D
monochromatic
#6C1D82 #9529B4 #B545D5 #C977E0 #DDA9EC

Accessibility & contrast

On white

4.40
#B545D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B545D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545D5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545D5#FFFFFF#000000##000000
##B545D51.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#4A7CD2
Tritanopia (blue-blind)
#B46088
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b545d5;
/* rgb */ color: rgb(181, 69, 213);
/* oklch */ color: oklch(60.2% 0.224 317.8);
Tailwind
colors: {
  custom: {
    50: '#cf81e3',
    500: '#b545d5',
    950: '#000000',
  },
}
SCSS
$custom: #b545d5;
$custom-light: #cf81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b545d5",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 286.667,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60219,
    "c": 0.22358,
    "h": 317.8
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#B545D5
secondary
#AAD99D
accent
#E64266
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B545D5

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

Preview Lab → · Contrast checker → · Palette generator →

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