#B54AAF#B54AAF

#B54AAF is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.184 H 329.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B54AAF
RGBrgb(181, 74, 175)
HSLhsl(303, 42%, 50%)
HSVhsv(303, 59%, 71%)
CMYKcmyk(0%, 59.1%, 3.3%, 29%)
CIE-LABlab(49.28, 56.18, -33.56)
CIE-LCHlch(49.28, 65.44, 329.15°)
OKLaboklab(58.63% 0.1587 -0.0922)
OKLCHoklch(58.63% 0.184 329.9)
XYZxyz(29.2425, 17.8184, 42.4482)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AAF #4AB550
analogous
#854AB5 #B54AAF #B54A7A
triadic
#B54AAF #AFB54A #4AAFB5
tetradic
#B54AAF #B5854A #4AB550 #4A7AB5
square
#B54AAF #B5854A #4AB550 #4A7AB5
split-complementary
#B54AAF #7AB54A #4AB585
monochromatic
#5E265B #8A3885 #B54AAF #C775C2 #D9A1D5

Accessibility & contrast

On white

4.60
#B54AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B54AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B54AAF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AAF#FFFFFF#000000##FFFFFF
##B54AAF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#BB5576
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b54aaf;
/* rgb */ color: rgb(181, 74, 175);
/* oklch */ color: oklch(58.6% 0.184 329.9);
Tailwind
colors: {
  custom: {
    50: '#ce83c7',
    500: '#b54aaf',
    950: '#000000',
  },
}
SCSS
$custom: #b54aaf;
$custom-light: #ce83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54aaf",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 303.364,
    "s": 41.961,
    "l": 50
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.18351,
    "h": 329.9
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#B54AAF
secondary
#95C598
accent
#D25D56
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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