#A54AAA#A54AAA

#A54AAA is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.2% C 0.170 H 325.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A54AAA
RGBrgb(165, 74, 170)
HSLhsl(297, 39%, 48%)
HSVhsv(297, 56%, 67%)
CMYKcmyk(2.9%, 56.5%, 0%, 33.3%)
CIE-LABlab(46.71, 50.99, -34.81)
CIE-LCHlch(46.71, 61.74, 325.68°)
OKLaboklab(56.21% 0.1399 -0.0961)
OKLCHoklch(56.21% 0.17 325.5)
XYZxyz(25.2210, 15.8006, 39.7438)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54AAA #4FAA4A
analogous
#754AAA #A54AAA #AA4A7F
triadic
#A54AAA #AAA54A #4AAAA5
tetradic
#A54AAA #AA754A #4FAA4A #4A7FAA
square
#A54AAA #AA754A #4FAA4A #4A7FAA
split-complementary
#A54AAA #7FAA4A #4AAA75
monochromatic
#522555 #7C377F #A54AAA #BD70C1 #D19BD3

Accessibility & contrast

On white

5.05
#A54AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A54AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54AAA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54AAA#FFFFFF#000000##FFFFFF
##A54AAA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AD
Deuteranopia (green-blind)
#5B73A7
Tritanopia (blue-blind)
#A95673
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a54aaa;
/* rgb */ color: rgb(165, 74, 170);
/* oklch */ color: oklch(56.2% 0.170 325.5);
Tailwind
colors: {
  custom: {
    50: '#c281c3',
    500: '#a54aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a54aaa;
$custom-light: #c281c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a54aaa",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 296.875,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.1697,
    "h": 325.5
  },
  "luminance": 0.15799
}

Semantic roles & 50–950 ramp

primary
#A54AAA
secondary
#92C090
accent
#CF595F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #A54AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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