#A54BB9#A54BB9

#A54BB9 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.182 H 320.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A54BB9
RGBrgb(165, 75, 185)
HSLhsl(289, 44%, 51%)
HSVhsv(289, 59%, 73%)
CMYKcmyk(10.8%, 59.5%, 0%, 27.5%)
CIE-LABlab(47.67, 53.39, -42.09)
CIE-LCHlch(47.67, 67.98, 321.75°)
OKLaboklab(57.16% 0.1397 -0.1172)
OKLCHoklch(57.16% 0.182 320)
XYZxyz(26.7890, 16.5355, 47.6701)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BB9 #5FB94B
analogous
#6E4BB9 #A54BB9 #B94B96
triadic
#A54BB9 #B9A54B #4BB9A5
tetradic
#A54BB9 #B96E4B #5FB94B #4B96B9
square
#A54BB9 #B96E4B #5FB94B #4B96B9
split-complementary
#A54BB9 #96B94B #4BB96E
monochromatic
#582763 #7F388F #A54BB9 #BB77CA #D1A3DB

Accessibility & contrast

On white

4.88
#A54BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A54BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BB9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BB9#FFFFFF#000000##FFFFFF
##A54BB91.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBC
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#A65C7B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54bb9;
/* rgb */ color: rgb(165, 75, 185);
/* oklch */ color: oklch(57.2% 0.182 320.0);
Tailwind
colors: {
  custom: {
    50: '#c282ce',
    500: '#a54bb9',
    950: '#000000',
  },
}
SCSS
$custom: #a54bb9;
$custom-light: #c282ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bb9",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 289.091,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5716,
    "c": 0.18237,
    "h": 320
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#A54BB9
secondary
#A0C898
accent
#D4546B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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