#A54AA2#A54AA2

#A54AA2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.8% C 0.162 H 328.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A54AA2
RGBrgb(165, 74, 162)
HSLhsl(302, 38%, 47%)
HSVhsv(302, 55%, 65%)
CMYKcmyk(0%, 55.2%, 1.8%, 35.3%)
CIE-LABlab(46.32, 49.53, -30.69)
CIE-LCHlch(46.32, 58.27, 328.21°)
OKLaboklab(55.79% 0.1389 -0.0843)
OKLCHoklch(55.79% 0.162 328.8)
XYZxyz(24.4871, 15.5070, 35.8788)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54AA2 #4AA54D
analogous
#7B4AA5 #A54AA2 #A54A75
triadic
#A54AA2 #A2A54A #4AA2A5
tetradic
#A54AA2 #A57B4A #4AA54D #4A75A5
square
#A54AA2 #A57B4A #4AA54D #4A75A5
split-complementary
#A54AA2 #75A54A #4AA57B
monochromatic
#50244F #7B3779 #A54AA2 #BE6EBB #D198CF

Accessibility & contrast

On white

5.12
#A54AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A54AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54AA2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54AA2#FFFFFF#000000##FFFFFF
##A54AA21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#5F729F
Tritanopia (blue-blind)
#AA536F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a54aa2;
/* rgb */ color: rgb(165, 74, 162);
/* oklch */ color: oklch(55.8% 0.162 328.8);
Tailwind
colors: {
  custom: {
    50: '#c281be',
    500: '#a54aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a54aa2;
$custom-light: #c281be;
$custom-dark: #000000;
JSON
{
  "hex": "#a54aa2",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 301.978,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.16244,
    "h": 328.8
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#A54AA2
secondary
#8EBD8F
accent
#CE5E5A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A54AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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