#B541DC#B541DC

#B541DC is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.235 H 316.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B541DC
RGBrgb(181, 65, 220)
HSLhsl(285, 69%, 56%)
HSVhsv(285, 70%, 86%)
CMYKcmyk(17.7%, 70.5%, 0%, 13.7%)
CIE-LABlab(50.42, 68.16, -57.71)
CIE-LCHlch(50.42, 89.31, 319.74°)
OKLaboklab(60.26% 0.1693 -0.1624)
OKLCHoklch(60.26% 0.235 316.2)
XYZxyz(33.8626, 18.7730, 69.5361)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541DC #68DC41
analogous
#6741DC #B541DC #DC41B6
triadic
#B541DC #DCB541 #41DCB5
tetradic
#B541DC #DC6741 #68DC41 #41B6DC
square
#B541DC #DC6741 #68DC41 #41B6DC
split-complementary
#B541DC #B6DC41 #41DC67
monochromatic
#6D1989 #9623BD #B541DC #C975E6 #DDA8EF

Accessibility & contrast

On white

4.42
#B541DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B541DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B541DC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541DC#FFFFFF#000000##000000
##B541DC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#B3618B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b541dc;
/* rgb */ color: rgb(181, 65, 220);
/* oklch */ color: oklch(60.3% 0.235 316.2);
Tailwind
colors: {
  custom: {
    50: '#cf7fe8',
    500: '#b541dc',
    950: '#000000',
  },
}
SCSS
$custom: #b541dc;
$custom-light: #cf7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#b541dc",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 284.903,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.23457,
    "h": 316.2
  },
  "luminance": 0.18772
}

Semantic roles & 50–950 ramp

primary
#B541DC
secondary
#ACDD9C
accent
#EC3C68
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B541DC

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

Preview Lab → · Contrast checker → · Palette generator →

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