#B54FAA#B54FAA

#B54FAA is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.172 H 331.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B54FAA
RGBrgb(181, 79, 170)
HSLhsl(306, 41%, 51%)
HSVhsv(306, 56%, 71%)
CMYKcmyk(0%, 56.4%, 6.1%, 29%)
CIE-LABlab(49.88, 53.05, -29.68)
CIE-LCHlch(49.88, 60.79, 330.77°)
OKLaboklab(59% 0.1515 -0.0811)
OKLCHoklch(59% 0.172 331.8)
XYZxyz(29.1076, 18.3200, 40.0254)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FAA #4FB55A
analogous
#8D4FB5 #B54FAA #B54F77
triadic
#B54FAA #AAB54F #4FAAB5
tetradic
#B54FAA #B58D4F #4FB55A #4F77B5
square
#B54FAA #B58D4F #4FB55A #4F77B5
split-complementary
#B54FAA #77B54F #4FB58D
monochromatic
#61295B #8C3B83 #B54FAA #C77ABF #D9A5D4

Accessibility & contrast

On white

4.50
#B54FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B54FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FAA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FAA#FFFFFF#000000##000000
##B54FAA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6DAD
Deuteranopia (green-blind)
#6A7CA7
Tritanopia (blue-blind)
#BC5775
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54faa;
/* rgb */ color: rgb(181, 79, 170);
/* oklch */ color: oklch(59.0% 0.172 331.8);
Tailwind
colors: {
  custom: {
    50: '#ce86c3',
    500: '#b54faa',
    950: '#000000',
  },
}
SCSS
$custom: #b54faa;
$custom-light: #ce86c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54faa",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 306.471,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59001,
    "c": 0.1718,
    "h": 331.8
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

primary
#B54FAA
secondary
#99C69E
accent
#D16457
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B54FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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