#B545D2#B545D2

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

Color values

HEX#B545D2
RGBrgb(181, 69, 210)
HSLhsl(288, 61%, 55%)
HSVhsv(288, 67%, 82%)
CMYKcmyk(13.8%, 67.1%, 0%, 17.6%)
CIE-LABlab(50.38, 64.67, -52.08)
CIE-LCHlch(50.38, 83.03, 321.15°)
OKLaboklab(60.04% 0.1658 -0.1459)
OKLCHoklch(60.04% 0.221 318.7)
XYZxyz(32.8155, 18.7346, 62.8479)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545D2 #62D245
analogous
#6F45D2 #B545D2 #D245A8
triadic
#B545D2 #D2B545 #45D2B5
tetradic
#B545D2 #D26F45 #62D245 #45A8D2
square
#B545D2 #D26F45 #62D245 #45A8D2
split-complementary
#B545D2 #A8D245 #45D26F
monochromatic
#6A1F7E #942AAF #B545D2 #C976DE #DCA8EA

Accessibility & contrast

On white

4.42
#B545D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B545D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545D2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545D2#FFFFFF#000000##000000
##B545D21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0371D6
Deuteranopia (green-blind)
#4D7CCF
Tritanopia (blue-blind)
#B55F86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b545d2;
/* rgb */ color: rgb(181, 69, 210);
/* oklch */ color: oklch(60.0% 0.221 318.7);
Tailwind
colors: {
  custom: {
    50: '#cf81e0',
    500: '#b545d2',
    950: '#000000',
  },
}
SCSS
$custom: #b545d2;
$custom-light: #cf81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b545d2",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 287.66,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60035,
    "c": 0.22088,
    "h": 318.7
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#B545D2
secondary
#A8D79C
accent
#E44465
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B545D2

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

Preview Lab → · Contrast checker → · Palette generator →

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