#B541CB#B541CB

#B541CB is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.220 H 320.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B541CB
RGBrgb(181, 65, 203)
HSLhsl(290, 57%, 53%)
HSVhsv(290, 68%, 80%)
CMYKcmyk(10.8%, 68%, 0%, 20.4%)
CIE-LABlab(49.40, 64.95, -49.63)
CIE-LCHlch(49.40, 81.75, 322.62°)
OKLaboklab(59.2% 0.1703 -0.1387)
OKLCHoklch(59.2% 0.22 320.8)
XYZxyz(31.7246, 17.9178, 58.2758)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541CB #57CB41
analogous
#7041CB #B541CB #CB419C
triadic
#B541CB #CBB541 #41CBB5
tetradic
#B541CB #CB7041 #57CB41 #419CCB
square
#B541CB #CB7041 #57CB41 #419CCB
split-complementary
#B541CB #9CCB41 #41CB70
monochromatic
#651F72 #902CA2 #B541CB #C871D8 #DAA1E5

Accessibility & contrast

On white

4.58
#B541CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B541CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B541CB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541CB#FFFFFF#000000##000000
##B541CB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCF
Deuteranopia (green-blind)
#4F7AC8
Tritanopia (blue-blind)
#B65A81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b541cb;
/* rgb */ color: rgb(181, 65, 203);
/* oklch */ color: oklch(59.2% 0.220 320.8);
Tailwind
colors: {
  custom: {
    50: '#cf7fdb',
    500: '#b541cb',
    950: '#000000',
  },
}
SCSS
$custom: #b541cb;
$custom-light: #cf7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b541cb",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 290.435,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59201,
    "c": 0.21967,
    "h": 320.8
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

primary
#B541CB
secondary
#9FD296
accent
#E04860
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B541CB

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

Preview Lab → · Contrast checker → · Palette generator →

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