#A54099#A54099

#A54099 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.1% C 0.170 H 332.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A54099
RGBrgb(165, 64, 153)
HSLhsl(307, 44%, 45%)
HSVhsv(307, 61%, 65%)
CMYKcmyk(0%, 61.2%, 7.3%, 35.3%)
CIE-LABlab(44.19, 52.60, -28.66)
CIE-LCHlch(44.19, 59.91, 331.42°)
OKLaboklab(54.09% 0.151 -0.0783)
OKLCHoklch(54.09% 0.17 332.6)
XYZxyz(23.1002, 13.9677, 31.6102)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54099 #40A54C
analogous
#7F40A5 #A54099 #A54066
triadic
#A54099 #99A540 #4099A5
tetradic
#A54099 #A57F40 #40A54C #4066A5
square
#A54099 #A57F40 #40A54C #4066A5
split-complementary
#A54099 #66A540 #40A57F
monochromatic
#4D1E47 #792F70 #A54099 #C261B6 #D38DCA

Accessibility & contrast

On white

5.54
#A54099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A54099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54099
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54099#FFFFFF#000000##FFFFFF
##A540991.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9C
Deuteranopia (green-blind)
#5D6E96
Tritanopia (blue-blind)
#AC4866
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a54099;
/* rgb */ color: rgb(165, 64, 153);
/* oklch */ color: oklch(54.1% 0.170 332.6);
Tailwind
colors: {
  custom: {
    50: '#c27bb7',
    500: '#a54099',
    950: '#000000',
  },
}
SCSS
$custom: #a54099;
$custom-light: #c27bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a54099",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 307.129,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.17009,
    "h": 332.6
  },
  "luminance": 0.13966
}

Semantic roles & 50–950 ramp

primary
#A54099
secondary
#83BE8A
accent
#D46354
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54099

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

Preview Lab → · Contrast checker → · Palette generator →

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