#A54199#A54199

#A54199 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.2% C 0.169 H 332.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A54199
RGBrgb(165, 65, 153)
HSLhsl(307, 43%, 45%)
HSVhsv(307, 61%, 65%)
CMYKcmyk(0%, 60.6%, 7.3%, 35.3%)
CIE-LABlab(44.35, 52.16, -28.41)
CIE-LCHlch(44.35, 59.39, 331.43°)
OKLaboklab(54.21% 0.1497 -0.0776)
OKLCHoklch(54.21% 0.169 332.6)
XYZxyz(23.1571, 14.0815, 31.6291)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54199 #41A54D
analogous
#7F41A5 #A54199 #A54167
triadic
#A54199 #99A541 #4199A5
tetradic
#A54199 #A57F41 #41A54D #4167A5
square
#A54199 #A57F41 #41A54D #4167A5
split-complementary
#A54199 #67A541 #41A57F
monochromatic
#4D1E48 #793070 #A54199 #C162B6 #D28ECA

Accessibility & contrast

On white

5.50
#A54199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A54199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54199
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54199#FFFFFF#000000##FFFFFF
##A541991.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#AC4967
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a54199;
/* rgb */ color: rgb(165, 65, 153);
/* oklch */ color: oklch(54.2% 0.169 332.6);
Tailwind
colors: {
  custom: {
    50: '#c27cb7',
    500: '#a54199',
    950: '#000000',
  },
}
SCSS
$custom: #a54199;
$custom-light: #c27cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a54199",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 307.2,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.1686,
    "h": 332.6
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#A54199
secondary
#84BE8B
accent
#D36455
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54199

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

Preview Lab → · Contrast checker → · Palette generator →

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