#B541EA#B541EA

#B541EA is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.2% C 0.247 H 312.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B541EA
RGBrgb(181, 65, 234)
HSLhsl(281, 80%, 59%)
HSVhsv(281, 72%, 92%)
CMYKcmyk(22.6%, 72.2%, 0%, 8.2%)
CIE-LABlab(51.32, 70.90, -64.19)
CIE-LCHlch(51.32, 95.64, 317.85°)
OKLaboklab(61.19% 0.1677 -0.1814)
OKLCHoklch(61.19% 0.247 312.8)
XYZxyz(35.7950, 19.5459, 79.7131)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541EA #76EA41
analogous
#6041EA #B541EA #EA41CB
triadic
#B541EA #EAB541 #41EAB5
tetradic
#B541EA #EA6041 #76EA41 #41CBEA
square
#B541EA #EA6041 #76EA41 #41CBEA
split-complementary
#B541EA #CBEA41 #41EA60
monochromatic
#73129F #9A18D6 #B541EA #CA78F0 #E0AFF6

Accessibility & contrast

On white

4.28
#B541EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B541EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B541EA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541EA#FFFFFF#000000##000000
##B541EA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#2E7DE6
Tritanopia (blue-blind)
#AF6792
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b541ea;
/* rgb */ color: rgb(181, 65, 234);
/* oklch */ color: oklch(61.2% 0.247 312.8);
Tailwind
colors: {
  custom: {
    50: '#d080f2',
    500: '#b541ea',
    950: '#000000',
  },
}
SCSS
$custom: #b541ea;
$custom-light: #d080f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b541ea",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 281.183,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.24702,
    "h": 312.8
  },
  "luminance": 0.19545
}

Semantic roles & 50–950 ramp

primary
#B541EA
secondary
#B7E5A2
accent
#F7316F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B541EA

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

Preview Lab → · Contrast checker → · Palette generator →

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