#B541D3#B541D3

#B541D3 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.7% C 0.227 H 318.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B541D3
RGBrgb(181, 65, 211)
HSLhsl(288, 62%, 54%)
HSVhsv(288, 69%, 83%)
CMYKcmyk(14.2%, 69.2%, 0%, 17.3%)
CIE-LABlab(49.87, 66.45, -53.47)
CIE-LCHlch(49.87, 85.29, 321.18°)
OKLaboklab(59.69% 0.17 -0.1499)
OKLCHoklch(59.69% 0.227 318.6)
XYZxyz(32.7026, 18.3090, 63.4268)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541D3 #5FD341
analogous
#6C41D3 #B541D3 #D341A8
triadic
#B541D3 #D3B541 #41D3B5
tetradic
#B541D3 #D36C41 #5FD341 #41A8D3
square
#B541D3 #D36C41 #5FD341 #41A8D3
split-complementary
#B541D3 #A8D341 #41D36C
monochromatic
#691D7D #9328AE #B541D3 #C873DF #DCA4EA

Accessibility & contrast

On white

4.51
#B541D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B541D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B541D3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541D3#FFFFFF#000000##000000
##B541D31.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#497AD0
Tritanopia (blue-blind)
#B55D86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b541d3;
/* rgb */ color: rgb(181, 65, 211);
/* oklch */ color: oklch(59.7% 0.227 318.6);
Tailwind
colors: {
  custom: {
    50: '#cf7fe1',
    500: '#b541d3',
    950: '#000000',
  },
}
SCSS
$custom: #b541d3;
$custom-light: #cf7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#b541d3",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 287.671,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59691,
    "c": 0.22664,
    "h": 318.6
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#B541D3
secondary
#A6D799
accent
#E54264
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B541D3

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

Preview Lab → · Contrast checker → · Palette generator →

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