#A54897#A54897

#A54897 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.0% C 0.156 H 333.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A54897
RGBrgb(165, 72, 151)
HSLhsl(309, 39%, 46%)
HSVhsv(309, 56%, 65%)
CMYKcmyk(0%, 56.4%, 8.5%, 35.3%)
CIE-LABlab(45.46, 48.57, -25.48)
CIE-LCHlch(45.46, 54.85, 332.31°)
OKLaboklab(54.99% 0.1399 -0.0694)
OKLCHoklch(54.99% 0.156 333.6)
XYZxyz(23.4204, 14.8701, 30.9088)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54897 #48A556
analogous
#8548A5 #A54897 #A54869
triadic
#A54897 #97A548 #4897A5
tetradic
#A54897 #A58548 #48A556 #4869A5
square
#A54897 #A58548 #48A556 #4869A5
split-complementary
#A54897 #69A548 #48A585
monochromatic
#502349 #7A3570 #A54897 #BF6CB2 #D196C8

Accessibility & contrast

On white

5.28
#A54897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A54897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54897
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54897#FFFFFF#000000##FFFFFF
##A548971.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46639A
Deuteranopia (green-blind)
#627194
Tritanopia (blue-blind)
#AC4E69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a54897;
/* rgb */ color: rgb(165, 72, 151);
/* oklch */ color: oklch(55.0% 0.156 333.6);
Tailwind
colors: {
  custom: {
    50: '#c280b6',
    500: '#a54897',
    950: '#000000',
  },
}
SCSS
$custom: #a54897;
$custom-light: #c280b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a54897",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 309.032,
    "s": 39.241,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5499,
    "c": 0.15616,
    "h": 333.6
  },
  "luminance": 0.14868
}

Semantic roles & 50–950 ramp

primary
#A54897
secondary
#8CBD93
accent
#CF6A59
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54897

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

Preview Lab → · Contrast checker → · Palette generator →

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