#A54096#A54096

#A54096 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.9% C 0.168 H 333.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A54096
RGBrgb(165, 64, 150)
HSLhsl(309, 44%, 45%)
HSVhsv(309, 61%, 65%)
CMYKcmyk(0%, 61.2%, 9.1%, 35.3%)
CIE-LABlab(44.05, 52.11, -27.08)
CIE-LCHlch(44.05, 58.72, 332.54°)
OKLaboklab(53.94% 0.1505 -0.0738)
OKLCHoklch(53.94% 0.168 333.9)
XYZxyz(22.8556, 13.8699, 30.3216)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54096 #40A54F
analogous
#8240A5 #A54096 #A54063
triadic
#A54096 #96A540 #4096A5
tetradic
#A54096 #A58240 #40A54F #4063A5
square
#A54096 #A58240 #40A54F #4063A5
split-complementary
#A54096 #63A540 #40A582
monochromatic
#4D1E46 #792F6E #A54096 #C261B3 #D38DC8

Accessibility & contrast

On white

5.56
#A54096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A54096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54096
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54096#FFFFFF#000000##FFFFFF
##A540961.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#5E6D93
Tritanopia (blue-blind)
#AC4765
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a54096;
/* rgb */ color: rgb(165, 64, 150);
/* oklch */ color: oklch(53.9% 0.168 333.9);
Tailwind
colors: {
  custom: {
    50: '#c27bb5',
    500: '#a54096',
    950: '#000000',
  },
}
SCSS
$custom: #a54096;
$custom-light: #c27bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54096",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 308.911,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5394,
    "c": 0.16767,
    "h": 333.9
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#A54096
secondary
#83BE8C
accent
#D46754
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54096

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

Preview Lab → · Contrast checker → · Palette generator →

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