#A54DB9#A54DB9

#A54DB9 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.179 H 319.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A54DB9
RGBrgb(165, 77, 185)
HSLhsl(289, 44%, 51%)
HSVhsv(289, 58%, 73%)
CMYKcmyk(10.8%, 58.4%, 0%, 27.5%)
CIE-LABlab(48.02, 52.43, -41.53)
CIE-LCHlch(48.02, 66.89, 321.62°)
OKLaboklab(57.42% 0.1371 -0.1156)
OKLCHoklch(57.42% 0.179 319.9)
XYZxyz(26.9268, 16.8110, 47.7160)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DB9 #61B94D
analogous
#6F4DB9 #A54DB9 #B94D97
triadic
#A54DB9 #B9A54D #4DB9A5
tetradic
#A54DB9 #B96F4D #61B94D #4D97B9
square
#A54DB9 #B96F4D #61B94D #4D97B9
split-complementary
#A54DB9 #97B94D #4DB96F
monochromatic
#592764 #803990 #A54DB9 #BB79CA #D1A5DC

Accessibility & contrast

On white

4.81
#A54DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A54DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54DB9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DB9#FFFFFF#000000##FFFFFF
##A54DB91.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBC
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#A65E7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a54db9;
/* rgb */ color: rgb(165, 77, 185);
/* oklch */ color: oklch(57.4% 0.179 319.9);
Tailwind
colors: {
  custom: {
    50: '#c283ce',
    500: '#a54db9',
    950: '#000000',
  },
}
SCSS
$custom: #a54db9;
$custom-light: #c283ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a54db9",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 288.889,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.17937,
    "h": 319.9
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#A54DB9
secondary
#A2C999
accent
#D3556C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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