#B541D5#B541D5

#B541D5 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.228 H 318.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B541D5
RGBrgb(181, 65, 213)
HSLhsl(287, 64%, 55%)
HSVhsv(287, 69%, 84%)
CMYKcmyk(15%, 69.5%, 0%, 16.5%)
CIE-LABlab(49.99, 66.82, -54.42)
CIE-LCHlch(49.99, 86.18, 320.84°)
OKLaboklab(59.82% 0.1699 -0.1527)
OKLCHoklch(59.82% 0.228 318)
XYZxyz(32.9549, 18.4099, 64.7555)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541D5 #61D541
analogous
#6B41D5 #B541D5 #D541AB
triadic
#B541D5 #D5B541 #41D5B5
tetradic
#B541D5 #D56B41 #61D541 #41ABD5
square
#B541D5 #D56B41 #61D541 #41ABD5
split-complementary
#B541D5 #ABD541 #41D56B
monochromatic
#6A1C7F #9427B2 #B541D5 #C973E0 #DCA5EB

Accessibility & contrast

On white

4.49
#B541D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B541D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B541D5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541D5#FFFFFF#000000##000000
##B541D51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#477BD2
Tritanopia (blue-blind)
#B45E87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b541d5;
/* rgb */ color: rgb(181, 65, 213);
/* oklch */ color: oklch(59.8% 0.228 318.0);
Tailwind
colors: {
  custom: {
    50: '#cf7fe3',
    500: '#b541d5',
    950: '#000000',
  },
}
SCSS
$custom: #b541d5;
$custom-light: #cf7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#b541d5",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 287.027,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.2284,
    "h": 318
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#B541D5
secondary
#A7D89A
accent
#E74165
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B541D5

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

Preview Lab → · Contrast checker → · Palette generator →

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