#B54DC5#B54DC5

#B54DC5 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.2% C 0.198 H 322.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B54DC5
RGBrgb(181, 77, 197)
HSLhsl(292, 51%, 54%)
HSVhsv(292, 61%, 77%)
CMYKcmyk(8.1%, 60.9%, 0%, 22.7%)
CIE-LABlab(50.88, 58.79, -43.82)
CIE-LCHlch(50.88, 73.32, 323.30°)
OKLaboklab(60.16% 0.1567 -0.1218)
OKLCHoklch(60.16% 0.198 322.1)
XYZxyz(31.7869, 19.1643, 54.8373)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DC5 #5DC54D
analogous
#794DC5 #B54DC5 #C54D99
triadic
#B54DC5 #C5B54D #4DC5B5
tetradic
#B54DC5 #C5794D #5DC54D #4D99C5
square
#B54DC5 #C5794D #5DC54D #4D99C5
split-complementary
#B54DC5 #99C54D #4DC579
monochromatic
#682572 #9234A0 #B54DC5 #C87BD4 #DBA9E3

Accessibility & contrast

On white

4.35
#B54DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B54DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DC5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DC5#FFFFFF#000000##000000
##B54DC51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3471C9
Deuteranopia (green-blind)
#5C7DC2
Tritanopia (blue-blind)
#B75F82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54dc5;
/* rgb */ color: rgb(181, 77, 197);
/* oklch */ color: oklch(60.2% 0.198 322.1);
Tailwind
colors: {
  custom: {
    50: '#ce85d7',
    500: '#b54dc5',
    950: '#000000',
  },
}
SCSS
$custom: #b54dc5;
$custom-light: #ce85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dc5",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 292,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60163,
    "c": 0.19847,
    "h": 322.1
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

primary
#B54DC5
secondary
#A4D19D
accent
#DA4D60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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