#B541DB#B541DB

#B541DB is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.2% C 0.234 H 316.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B541DB
RGBrgb(181, 65, 219)
HSLhsl(285, 68%, 56%)
HSVhsv(285, 70%, 86%)
CMYKcmyk(17.4%, 70.3%, 0%, 14.1%)
CIE-LABlab(50.36, 67.97, -57.24)
CIE-LCHlch(50.36, 88.86, 319.90°)
OKLaboklab(60.2% 0.1694 -0.161)
OKLCHoklch(60.2% 0.234 316.5)
XYZxyz(33.7306, 18.7202, 68.8407)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541DB #67DB41
analogous
#6841DB #B541DB #DB41B4
triadic
#B541DB #DBB541 #41DBB5
tetradic
#B541DB #DB6841 #67DB41 #41B4DB
square
#B541DB #DB6841 #67DB41 #41B4DB
split-complementary
#B541DB #B4DB41 #41DB68
monochromatic
#6D1A88 #9623BB #B541DB #C974E5 #DDA8EE

Accessibility & contrast

On white

4.43
#B541DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B541DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B541DB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541DB#FFFFFF#000000##000000
##B541DB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#427BD8
Tritanopia (blue-blind)
#B3608A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b541db;
/* rgb */ color: rgb(181, 65, 219);
/* oklch */ color: oklch(60.2% 0.234 316.5);
Tailwind
colors: {
  custom: {
    50: '#cf7fe7',
    500: '#b541db',
    950: '#000000',
  },
}
SCSS
$custom: #b541db;
$custom-light: #cf7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#b541db",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 285.195,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60197,
    "c": 0.23368,
    "h": 316.5
  },
  "luminance": 0.18719
}

Semantic roles & 50–950 ramp

primary
#B541DB
secondary
#ACDC9C
accent
#EB3D68
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B541DB

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

Preview Lab → · Contrast checker → · Palette generator →

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