#B54AC1#B54AC1

#B54AC1 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.6% C 0.199 H 323.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B54AC1
RGBrgb(181, 74, 193)
HSLhsl(294, 49%, 52%)
HSVhsv(294, 62%, 76%)
CMYKcmyk(6.2%, 61.7%, 0%, 24.3%)
CIE-LABlab(50.18, 59.38, -42.61)
CIE-LCHlch(50.18, 73.08, 324.34°)
OKLaboklab(59.59% 0.1601 -0.1183)
OKLCHoklch(59.59% 0.199 323.5)
XYZxyz(31.1296, 18.5733, 52.3871)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AC1 #56C14A
analogous
#7A4AC1 #B54AC1 #C14A91
triadic
#B54AC1 #C1B54A #4AC1B5
tetradic
#B54AC1 #C17A4A #56C14A #4A91C1
square
#B54AC1 #C17A4A #56C14A #4A91C1
split-complementary
#B54AC1 #91C14A #4AC17A
monochromatic
#65256C #8F3599 #B54AC1 #C878D1 #DAA5E0

Accessibility & contrast

On white

4.45
#B54AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B54AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54AC1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AC1#FFFFFF#000000##000000
##B54AC11.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#336FC5
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#B85C7F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54ac1;
/* rgb */ color: rgb(181, 74, 193);
/* oklch */ color: oklch(59.6% 0.199 323.5);
Tailwind
colors: {
  custom: {
    50: '#ce83d4',
    500: '#b54ac1',
    950: '#000000',
  },
}
SCSS
$custom: #b54ac1;
$custom-light: #ce83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ac1",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 293.95,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5959,
    "c": 0.1991,
    "h": 323.5
  },
  "luminance": 0.18572
}

Semantic roles & 50–950 ramp

primary
#B54AC1
secondary
#9FCD99
accent
#D94F5D
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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