#B541C7#B541C7

#B541C7 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.216 H 322.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B541C7
RGBrgb(181, 65, 199)
HSLhsl(292, 54%, 52%)
HSVhsv(292, 67%, 78%)
CMYKcmyk(9%, 67.3%, 0%, 22%)
CIE-LABlab(49.17, 64.22, -47.69)
CIE-LCHlch(49.17, 79.99, 323.40°)
OKLaboklab(58.96% 0.1704 -0.133)
OKLCHoklch(58.96% 0.216 322)
XYZxyz(31.2541, 17.7296, 55.7977)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541C7 #53C741
analogous
#7241C7 #B541C7 #C74196
triadic
#B541C7 #C7B541 #41C7B5
tetradic
#B541C7 #C77241 #53C741 #4196C7
square
#B541C7 #C77241 #53C741 #4196C7
split-complementary
#B541C7 #96C741 #41C772
monochromatic
#63206D #8E2E9D #B541C7 #C770D5 #DAA0E3

Accessibility & contrast

On white

4.62
#B541C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B541C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B541C7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541C7#FFFFFF#000000##FFFFFF
##B541C71.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186CCB
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#B7587F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b541c7;
/* rgb */ color: rgb(181, 65, 199);
/* oklch */ color: oklch(59.0% 0.216 322.0);
Tailwind
colors: {
  custom: {
    50: '#cf7fd8',
    500: '#b541c7',
    950: '#000000',
  },
}
SCSS
$custom: #b541c7;
$custom-light: #cf7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b541c7",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 291.94,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58962,
    "c": 0.21621,
    "h": 322
  },
  "luminance": 0.17728
}

Semantic roles & 50–950 ramp

primary
#B541C7
secondary
#9CCF95
accent
#DE4A5E
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B541C7

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

Preview Lab → · Contrast checker → · Palette generator →

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