#B54DC1#B54DC1

#B54DC1 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.9% C 0.195 H 323.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B54DC1
RGBrgb(181, 77, 193)
HSLhsl(294, 48%, 53%)
HSVhsv(294, 60%, 76%)
CMYKcmyk(6.2%, 60.1%, 0%, 24.3%)
CIE-LABlab(50.67, 58.05, -41.84)
CIE-LCHlch(50.67, 71.56, 324.22°)
OKLaboklab(59.94% 0.1565 -0.1161)
OKLCHoklch(59.94% 0.195 323.4)
XYZxyz(31.3347, 18.9834, 52.4554)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DC1 #59C14D
analogous
#7B4DC1 #B54DC1 #C14D93
triadic
#B54DC1 #C1B54D #4DC1B5
tetradic
#B54DC1 #C17B4D #59C14D #4D93C1
square
#B54DC1 #C17B4D #59C14D #4D93C1
split-complementary
#B54DC1 #93C14D #4DC17B
monochromatic
#66266D #90369B #B54DC1 #C87AD1 #DBA8E1

Accessibility & contrast

On white

4.38
#B54DC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B54DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DC1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DC1#FFFFFF#000000##000000
##B54DC11.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3871C5
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#B85E80
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54dc1;
/* rgb */ color: rgb(181, 77, 193);
/* oklch */ color: oklch(59.9% 0.195 323.4);
Tailwind
colors: {
  custom: {
    50: '#ce85d4',
    500: '#b54dc1',
    950: '#000000',
  },
}
SCSS
$custom: #b54dc1;
$custom-light: #ce85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dc1",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 293.793,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.19485,
    "h": 323.4
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#B54DC1
secondary
#A1CE9C
accent
#D8505E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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