#A54898#A54898

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

Color values

HEX#A54898
RGBrgb(165, 72, 152)
HSLhsl(308, 39%, 46%)
HSVhsv(308, 56%, 65%)
CMYKcmyk(0%, 56.4%, 7.9%, 35.3%)
CIE-LABlab(45.50, 48.74, -26.01)
CIE-LCHlch(45.50, 55.25, 331.91°)
OKLaboklab(55.04% 0.1401 -0.0709)
OKLCHoklch(55.04% 0.157 333.2)
XYZxyz(23.5019, 14.9027, 31.3383)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54898 #48A555
analogous
#8448A5 #A54898 #A5486A
triadic
#A54898 #98A548 #4898A5
tetradic
#A54898 #A58448 #48A555 #486AA5
square
#A54898 #A58448 #48A555 #486AA5
split-complementary
#A54898 #6AA548 #48A584
monochromatic
#50234A #7A3571 #A54898 #BF6CB3 #D196C9

Accessibility & contrast

On white

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

On black

3.98
#A54898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A54898#FFFFFF#000000##FFFFFF
##A548981.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a54898;
/* rgb */ color: rgb(165, 72, 152);
/* oklch */ color: oklch(55.0% 0.157 333.2);
Tailwind
colors: {
  custom: {
    50: '#c280b6',
    500: '#a54898',
    950: '#000000',
  },
}
SCSS
$custom: #a54898;
$custom-light: #c280b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a54898",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 308.387,
    "s": 39.241,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55038,
    "c": 0.15699,
    "h": 333.2
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#A54898
secondary
#8CBD92
accent
#CF6959
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54898

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

Preview Lab → · Contrast checker → · Palette generator →

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