#B54DC8#B54DC8

#B54DC8 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.3% C 0.201 H 321.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B54DC8
RGBrgb(181, 77, 200)
HSLhsl(291, 53%, 54%)
HSVhsv(291, 62%, 78%)
CMYKcmyk(9.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(51.04, 59.35, -45.29)
CIE-LCHlch(51.04, 74.66, 322.66°)
OKLaboklab(60.33% 0.1568 -0.1261)
OKLCHoklch(60.33% 0.201 321.2)
XYZxyz(32.1341, 19.3032, 56.6656)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DC8 #60C84D
analogous
#784DC8 #B54DC8 #C84D9E
triadic
#B54DC8 #C8B54D #4DC8B5
tetradic
#B54DC8 #C8784D #60C84D #4D9EC8
square
#B54DC8 #C8784D #60C84D #4D9EC8
split-complementary
#B54DC8 #9EC84D #4DC878
monochromatic
#6A2476 #9333A5 #B54DC8 #C87CD6 #DCABE5

Accessibility & contrast

On white

4.32
#B54DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B54DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DC8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DC8#FFFFFF#000000##000000
##B54DC81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3172CC
Deuteranopia (green-blind)
#5A7DC5
Tritanopia (blue-blind)
#B76084
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54dc8;
/* rgb */ color: rgb(181, 77, 200);
/* oklch */ color: oklch(60.3% 0.201 321.2);
Tailwind
colors: {
  custom: {
    50: '#ce85d9',
    500: '#b54dc8',
    950: '#000000',
  },
}
SCSS
$custom: #b54dc8;
$custom-light: #ce85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dc8",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 290.732,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.20122,
    "h": 321.2
  },
  "luminance": 0.19302
}

Semantic roles & 50–950 ramp

primary
#B54DC8
secondary
#A6D29E
accent
#DC4C62
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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