#B54ACC#B54ACC

#B54ACC is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.2% C 0.209 H 320.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B54ACC
RGBrgb(181, 74, 204)
HSLhsl(289, 56%, 55%)
HSVhsv(289, 64%, 80%)
CMYKcmyk(11.3%, 63.7%, 0%, 20%)
CIE-LABlab(50.78, 61.43, -47.99)
CIE-LCHlch(50.78, 77.95, 322.00°)
OKLaboklab(60.22% 0.1604 -0.134)
OKLCHoklch(60.22% 0.209 320.1)
XYZxyz(32.4026, 19.0825, 59.0915)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54ACC #61CC4A
analogous
#744ACC #B54ACC #CC4AA2
triadic
#B54ACC #CCB54A #4ACCB5
tetradic
#B54ACC #CC744A #61CC4A #4AA2CC
square
#B54ACC #CC744A #61CC4A #4AA2CC
split-complementary
#B54ACC #A2CC4A #4ACC74
monochromatic
#6A2279 #9430A9 #B54ACC #C97AD9 #DCA9E7

Accessibility & contrast

On white

4.36
#B54ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B54ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54ACC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54ACC#FFFFFF#000000##000000
##B54ACC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2571D0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#B66085
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54acc;
/* rgb */ color: rgb(181, 74, 204);
/* oklch */ color: oklch(60.2% 0.209 320.1);
Tailwind
colors: {
  custom: {
    50: '#ce84dc',
    500: '#b54acc',
    950: '#000000',
  },
}
SCSS
$custom: #b54acc;
$custom-light: #ce84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b54acc",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 289.385,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60218,
    "c": 0.20899,
    "h": 320.1
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#B54ACC
secondary
#A7D49D
accent
#DF4863
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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