#A54598#A54598

#A54598 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.7% C 0.162 H 333.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A54598
RGBrgb(165, 69, 152)
HSLhsl(308, 41%, 46%)
HSVhsv(308, 58%, 65%)
CMYKcmyk(0%, 58.2%, 7.9%, 35.3%)
CIE-LABlab(44.98, 50.16, -26.83)
CIE-LCHlch(44.98, 56.88, 331.86°)
OKLaboklab(54.65% 0.1442 -0.0732)
OKLCHoklch(54.65% 0.162 333.1)
XYZxyz(23.3127, 14.5242, 31.2753)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54598 #45A552
analogous
#8245A5 #A54598 #A54568
triadic
#A54598 #98A545 #4598A5
tetradic
#A54598 #A58245 #45A552 #4568A5
square
#A54598 #A58245 #45A552 #4568A5
split-complementary
#A54598 #68A545 #45A582
monochromatic
#4F2148 #7A3370 #A54598 #C068B4 #D293C9

Accessibility & contrast

On white

5.38
#A54598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A54598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54598
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54598#FFFFFF#000000##FFFFFF
##A545981.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#AC4C68
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a54598;
/* rgb */ color: rgb(165, 69, 152);
/* oklch */ color: oklch(54.7% 0.162 333.1);
Tailwind
colors: {
  custom: {
    50: '#c27eb6',
    500: '#a54598',
    950: '#000000',
  },
}
SCSS
$custom: #a54598;
$custom-light: #c27eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a54598",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 308.125,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54652,
    "c": 0.1617,
    "h": 333.1
  },
  "luminance": 0.14523
}

Semantic roles & 50–950 ramp

primary
#A54598
secondary
#88BD90
accent
#D16757
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54598

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

Preview Lab → · Contrast checker → · Palette generator →

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