#B545DA#B545DA

#B545DA is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.228 H 316.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B545DA
RGBrgb(181, 69, 218)
HSLhsl(285, 67%, 56%)
HSVhsv(285, 68%, 85%)
CMYKcmyk(17%, 68.3%, 0%, 14.5%)
CIE-LABlab(50.85, 66.20, -55.88)
CIE-LCHlch(50.85, 86.63, 319.83°)
OKLaboklab(60.53% 0.1654 -0.157)
OKLCHoklch(60.53% 0.228 316.5)
XYZxyz(33.8371, 19.1433, 68.2287)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545DA #6ADA45
analogous
#6B45DA #B545DA #DA45B4
triadic
#B545DA #DAB545 #45DAB5
tetradic
#B545DA #DA6B45 #6ADA45 #45B4DA
square
#B545DA #DA6B45 #6ADA45 #45B4DA
split-complementary
#B545DA #B4DA45 #45DA6B
monochromatic
#6E1B89 #9725BC #B545DA #C978E4 #DEABEE

Accessibility & contrast

On white

4.35
#B545DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B545DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545DA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545DA#FFFFFF#000000##000000
##B545DA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#467CD7
Tritanopia (blue-blind)
#B3628B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b545da;
/* rgb */ color: rgb(181, 69, 218);
/* oklch */ color: oklch(60.5% 0.228 316.5);
Tailwind
colors: {
  custom: {
    50: '#cf81e6',
    500: '#b545da',
    950: '#000000',
  },
}
SCSS
$custom: #b545da;
$custom-light: #cf81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b545da",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 285.101,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.22807,
    "h": 316.5
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#B545DA
secondary
#AEDC9F
accent
#EA3E69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B545DA

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

Preview Lab → · Contrast checker → · Palette generator →

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