#A54DC9#A54DC9

#A54DC9 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.195 H 314.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A54DC9
RGBrgb(165, 77, 201)
HSLhsl(283, 53%, 55%)
HSVhsv(283, 62%, 79%)
CMYKcmyk(17.9%, 61.7%, 0%, 21.2%)
CIE-LABlab(48.91, 55.68, -49.38)
CIE-LCHlch(48.91, 74.42, 318.43°)
OKLaboklab(58.36% 0.1376 -0.1385)
OKLCHoklch(58.36% 0.195 314.8)
XYZxyz(28.7118, 17.5251, 57.1172)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DC9 #71C94D
analogous
#674DC9 #A54DC9 #C94DAF
triadic
#A54DC9 #C9A54D #4DC9A5
tetradic
#A54DC9 #C9674D #71C94D #4DAFC9
square
#A54DC9 #C9674D #71C94D #4DAFC9
split-complementary
#A54DC9 #AFC94D #4DC967
monochromatic
#5F2477 #8532A6 #A54DC9 #BD7CD7 #D4ABE5

Accessibility & contrast

On white

4.66
#A54DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A54DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A54DC9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DC9#FFFFFF#000000##FFFFFF
##A54DC91.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226FCD
Deuteranopia (green-blind)
#4A77C6
Tritanopia (blue-blind)
#A26384
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a54dc9;
/* rgb */ color: rgb(165, 77, 201);
/* oklch */ color: oklch(58.4% 0.195 314.8);
Tailwind
colors: {
  custom: {
    50: '#c384da',
    500: '#a54dc9',
    950: '#000000',
  },
}
SCSS
$custom: #a54dc9;
$custom-light: #c384da;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dc9",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 282.581,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.19521,
    "h": 314.8
  },
  "luminance": 0.17524
}

Semantic roles & 50–950 ramp

primary
#A54DC9
secondary
#AED39F
accent
#DD4B75
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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