#B541CC#B541CC

#B541CC is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.3% C 0.221 H 320.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B541CC
RGBrgb(181, 65, 204)
HSLhsl(290, 58%, 53%)
HSVhsv(290, 68%, 80%)
CMYKcmyk(11.3%, 68.1%, 0%, 20%)
CIE-LABlab(49.45, 65.14, -50.11)
CIE-LCHlch(49.45, 82.19, 322.43°)
OKLaboklab(59.26% 0.1703 -0.1401)
OKLCHoklch(59.26% 0.221 320.6)
XYZxyz(31.8441, 17.9656, 58.9054)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541CC #58CC41
analogous
#6F41CC #B541CC #CC419D
triadic
#B541CC #CCB541 #41CCB5
tetradic
#B541CC #CC6F41 #58CC41 #419DCC
square
#B541CC #CC6F41 #58CC41 #419DCC
split-complementary
#B541CC #9DCC41 #41CC6F
monochromatic
#661F74 #902CA4 #B541CC #C871D9 #DBA1E6

Accessibility & contrast

On white

4.57
#B541CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B541CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B541CC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541CC#FFFFFF#000000##000000
##B541CC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#086DD0
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#B65A82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b541cc;
/* rgb */ color: rgb(181, 65, 204);
/* oklch */ color: oklch(59.3% 0.221 320.6);
Tailwind
colors: {
  custom: {
    50: '#cf7fdc',
    500: '#b541cc',
    950: '#000000',
  },
}
SCSS
$custom: #b541cc;
$custom-light: #cf7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b541cc",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 290.072,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.22054,
    "h": 320.6
  },
  "luminance": 0.17964
}

Semantic roles & 50–950 ramp

primary
#B541CC
secondary
#A0D396
accent
#E14760
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B541CC

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

Preview Lab → · Contrast checker → · Palette generator →

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