#B541C5#B541C5

#B541C5 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.214 H 322.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B541C5
RGBrgb(181, 65, 197)
HSLhsl(293, 53%, 51%)
HSVhsv(293, 67%, 77%)
CMYKcmyk(8.1%, 67%, 0%, 22.7%)
CIE-LABlab(49.05, 63.86, -46.72)
CIE-LCHlch(49.05, 79.12, 323.81°)
OKLaboklab(58.84% 0.1705 -0.1302)
OKLCHoklch(58.84% 0.215 322.6)
XYZxyz(31.0234, 17.6373, 54.5827)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541C5 #51C541
analogous
#7341C5 #B541C5 #C54193
triadic
#B541C5 #C5B541 #41C5B5
tetradic
#B541C5 #C57341 #51C541 #4193C5
square
#B541C5 #C57341 #51C541 #4193C5
split-complementary
#B541C5 #93C541 #41C573
monochromatic
#62216B #8D2F9A #B541C5 #C770D3 #DA9FE2

Accessibility & contrast

On white

4.64
#B541C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B541C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B541C5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541C5#FFFFFF#000000##FFFFFF
##B541C51.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6CC9
Deuteranopia (green-blind)
#5479C2
Tritanopia (blue-blind)
#B7577E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b541c5;
/* rgb */ color: rgb(181, 65, 197);
/* oklch */ color: oklch(58.8% 0.214 322.6);
Tailwind
colors: {
  custom: {
    50: '#cf7fd7',
    500: '#b541c5',
    950: '#000000',
  },
}
SCSS
$custom: #b541c5;
$custom-light: #cf7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#b541c5",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 292.727,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58844,
    "c": 0.2145,
    "h": 322.6
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#B541C5
secondary
#9BCE94
accent
#DD4B5D
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B541C5

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

Preview Lab → · Contrast checker → · Palette generator →

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