#A54097#A54097

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

Color values

HEX#A54097
RGBrgb(165, 64, 151)
HSLhsl(308, 44%, 45%)
HSVhsv(308, 61%, 65%)
CMYKcmyk(0%, 61.2%, 8.5%, 35.3%)
CIE-LABlab(44.09, 52.27, -27.61)
CIE-LCHlch(44.09, 59.11, 332.16°)
OKLaboklab(53.99% 0.1507 -0.0753)
OKLCHoklch(53.99% 0.168 333.4)
XYZxyz(22.9364, 13.9022, 30.7475)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54097 #40A54E
analogous
#8140A5 #A54097 #A54064
triadic
#A54097 #97A540 #4097A5
tetradic
#A54097 #A58140 #40A54E #4064A5
square
#A54097 #A58140 #40A54E #4064A5
split-complementary
#A54097 #64A540 #40A581
monochromatic
#4D1E46 #792F6F #A54097 #C261B4 #D38DC9

Accessibility & contrast

On white

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

On black

3.78
#A54097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A54097#FFFFFF#000000##FFFFFF
##A540971.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a54097;
/* rgb */ color: rgb(165, 64, 151);
/* oklch */ color: oklch(54.0% 0.168 333.4);
Tailwind
colors: {
  custom: {
    50: '#c27bb6',
    500: '#a54097',
    950: '#000000',
  },
}
SCSS
$custom: #a54097;
$custom-light: #c27bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a54097",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 308.317,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53989,
    "c": 0.16847,
    "h": 333.4
  },
  "luminance": 0.139
}

Semantic roles & 50–950 ramp

primary
#A54097
secondary
#83BE8B
accent
#D46654
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54097

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

Preview Lab → · Contrast checker → · Palette generator →

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