#B541B3#B541B3

#B541B3 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.8% C 0.199 H 328.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B541B3
RGBrgb(181, 65, 179)
HSLhsl(301, 47%, 48%)
HSVhsv(301, 64%, 71%)
CMYKcmyk(0%, 64.1%, 1.1%, 29%)
CIE-LABlab(48.08, 60.70, -37.78)
CIE-LCHlch(48.08, 71.50, 328.10°)
OKLaboklab(57.83% 0.17 -0.1042)
OKLCHoklch(57.83% 0.199 328.5)
XYZxyz(29.0827, 16.8610, 44.3618)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541B3 #41B543
analogous
#7D41B5 #B541B3 #B54179
triadic
#B541B3 #B3B541 #41B3B5
tetradic
#B541B3 #B57D41 #41B543 #4179B5
square
#B541B3 #B57D41 #41B543 #4179B5
split-complementary
#B541B3 #79B541 #41B57D
monochromatic
#5B215A #883186 #B541B3 #C96AC8 #DA97D8

Accessibility & contrast

On white

4.80
#B541B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B541B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B541B3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541B3#FFFFFF#000000##FFFFFF
##B541B31.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B6
Deuteranopia (green-blind)
#5E78B0
Tritanopia (blue-blind)
#BB5074
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b541b3;
/* rgb */ color: rgb(181, 65, 179);
/* oklch */ color: oklch(57.8% 0.199 328.5);
Tailwind
colors: {
  custom: {
    50: '#ce7eca',
    500: '#b541b3',
    950: '#000000',
  },
}
SCSS
$custom: #b541b3;
$custom-light: #ce7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#b541b3",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 301.034,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57831,
    "c": 0.19939,
    "h": 328.5
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#B541B3
secondary
#8CC58D
accent
#D75351
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B541B3

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

Preview Lab → · Contrast checker → · Palette generator →

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