#B54BC1#B54BC1

#B54BC1 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.7% C 0.198 H 323.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B54BC1
RGBrgb(181, 75, 193)
HSLhsl(294, 49%, 53%)
HSVhsv(294, 61%, 76%)
CMYKcmyk(6.2%, 61.1%, 0%, 24.3%)
CIE-LABlab(50.34, 58.94, -42.35)
CIE-LCHlch(50.34, 72.58, 324.30°)
OKLaboklab(59.71% 0.1589 -0.1176)
OKLCHoklch(59.71% 0.198 323.5)
XYZxyz(31.1969, 18.7079, 52.4095)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BC1 #57C14B
analogous
#7A4BC1 #B54BC1 #C14B92
triadic
#B54BC1 #C1B54B #4BC1B5
tetradic
#B54BC1 #C17A4B #57C14B #4B92C1
square
#B54BC1 #C17A4B #57C14B #4B92C1
split-complementary
#B54BC1 #92C14B #4BC17A
monochromatic
#65256C #90359A #B54BC1 #C879D1 #DAA6E0

Accessibility & contrast

On white

4.43
#B54BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B54BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BC1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BC1#FFFFFF#000000##000000
##B54BC11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C5
Deuteranopia (green-blind)
#5D7CBE
Tritanopia (blue-blind)
#B85C7F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54bc1;
/* rgb */ color: rgb(181, 75, 193);
/* oklch */ color: oklch(59.7% 0.198 323.5);
Tailwind
colors: {
  custom: {
    50: '#ce84d4',
    500: '#b54bc1',
    950: '#000000',
  },
}
SCSS
$custom: #b54bc1;
$custom-light: #ce84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bc1",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 293.898,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.19769,
    "h": 323.5
  },
  "luminance": 0.18706
}

Semantic roles & 50–950 ramp

primary
#B54BC1
secondary
#9FCE9A
accent
#D84F5D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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