#B541D1#B541D1

#B541D1 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.225 H 319.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B541D1
RGBrgb(181, 65, 209)
HSLhsl(288, 61%, 54%)
HSVhsv(288, 69%, 82%)
CMYKcmyk(13.4%, 68.9%, 0%, 18%)
CIE-LABlab(49.75, 66.07, -52.51)
CIE-LCHlch(49.75, 84.40, 321.52°)
OKLaboklab(59.57% 0.1701 -0.1471)
OKLCHoklch(59.57% 0.225 319.1)
XYZxyz(32.4535, 18.2093, 62.1145)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541D1 #5DD141
analogous
#6D41D1 #B541D1 #D141A5
triadic
#B541D1 #D1B541 #41D1B5
tetradic
#B541D1 #D16D41 #5DD141 #41A5D1
square
#B541D1 #D16D41 #5DD141 #41A5D1
split-complementary
#B541D1 #A5D141 #41D16D
monochromatic
#681E7A #9229AB #B541D1 #C872DD #DBA4E9

Accessibility & contrast

On white

4.52
#B541D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B541D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B541D1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541D1#FFFFFF#000000##000000
##B541D11.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#4B7ACE
Tritanopia (blue-blind)
#B55C84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b541d1;
/* rgb */ color: rgb(181, 65, 209);
/* oklch */ color: oklch(59.6% 0.225 319.1);
Tailwind
colors: {
  custom: {
    50: '#cf7fe0',
    500: '#b541d1',
    950: '#000000',
  },
}
SCSS
$custom: #b541d1;
$custom-light: #cf7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#b541d1",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 288.333,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.2249,
    "h": 319.1
  },
  "luminance": 0.18208
}

Semantic roles & 50–950 ramp

primary
#B541D1
secondary
#A4D698
accent
#E44463
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B541D1

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

Preview Lab → · Contrast checker → · Palette generator →

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