#B541DF#B541DF

#B541DF is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.5% C 0.237 H 315.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B541DF
RGBrgb(181, 65, 223)
HSLhsl(284, 71%, 56%)
HSVhsv(284, 71%, 87%)
CMYKcmyk(18.8%, 70.9%, 0%, 12.5%)
CIE-LABlab(50.61, 68.74, -59.11)
CIE-LCHlch(50.61, 90.66, 319.31°)
OKLaboklab(60.46% 0.169 -0.1665)
OKLCHoklch(60.46% 0.237 315.4)
XYZxyz(34.2635, 18.9333, 71.6474)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541DF #6BDF41
analogous
#6641DF #B541DF #DF41BA
triadic
#B541DF #DFB541 #41DFB5
tetradic
#B541DF #DF6641 #6BDF41 #41BADF
square
#B541DF #DF6641 #6BDF41 #41BADF
split-complementary
#B541DF #BADF41 #41DF66
monochromatic
#6E188E #9721C2 #B541DF #C975E8 #DEAAF1

Accessibility & contrast

On white

4.39
#B541DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B541DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B541DF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541DF#FFFFFF#000000##000000
##B541DF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#3D7CDB
Tritanopia (blue-blind)
#B2628C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b541df;
/* rgb */ color: rgb(181, 65, 223);
/* oklch */ color: oklch(60.5% 0.237 315.4);
Tailwind
colors: {
  custom: {
    50: '#cf80ea',
    500: '#b541df',
    950: '#000000',
  },
}
SCSS
$custom: #b541df;
$custom-light: #cf80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b541df",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 284.051,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60456,
    "c": 0.23723,
    "h": 315.4
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#B541DF
secondary
#AFDE9D
accent
#EE3A6A
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B541DF

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

Preview Lab → · Contrast checker → · Palette generator →

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