#B545D7#B545D7

#B545D7 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.225 H 317.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B545D7
RGBrgb(181, 69, 215)
HSLhsl(286, 65%, 56%)
HSVhsv(286, 68%, 84%)
CMYKcmyk(15.8%, 67.9%, 0%, 15.7%)
CIE-LABlab(50.67, 65.62, -54.46)
CIE-LCHlch(50.67, 85.28, 320.31°)
OKLaboklab(60.34% 0.1656 -0.1529)
OKLCHoklch(60.34% 0.225 317.3)
XYZxyz(33.4481, 18.9877, 66.1799)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545D7 #67D745
analogous
#6C45D7 #B545D7 #D745B0
triadic
#B545D7 #D7B545 #45D7B5
tetradic
#B545D7 #D76C45 #67D745 #45B0D7
square
#B545D7 #D76C45 #67D745 #45B0D7
split-complementary
#B545D7 #B0D745 #45D76C
monochromatic
#6D1D85 #9627B7 #B545D7 #C977E2 #DDAAED

Accessibility & contrast

On white

4.38
#B545D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B545D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545D7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545D7#FFFFFF#000000##000000
##B545D71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#497CD4
Tritanopia (blue-blind)
#B46189
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b545d7;
/* rgb */ color: rgb(181, 69, 215);
/* oklch */ color: oklch(60.3% 0.225 317.3);
Tailwind
colors: {
  custom: {
    50: '#cf81e4',
    500: '#b545d7',
    950: '#000000',
  },
}
SCSS
$custom: #b545d7;
$custom-light: #cf81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b545d7",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 286.027,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60344,
    "c": 0.22537,
    "h": 317.3
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#B545D7
secondary
#ACDA9E
accent
#E84067
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B545D7

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

Preview Lab → · Contrast checker → · Palette generator →

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