#A54098#A54098

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

Color values

HEX#A54098
RGBrgb(165, 64, 152)
HSLhsl(308, 44%, 45%)
HSVhsv(308, 61%, 65%)
CMYKcmyk(0%, 61.2%, 7.9%, 35.3%)
CIE-LABlab(44.14, 52.44, -28.13)
CIE-LCHlch(44.14, 59.51, 331.79°)
OKLaboklab(54.04% 0.1508 -0.0768)
OKLCHoklch(54.04% 0.169 333)
XYZxyz(23.0180, 13.9348, 31.1770)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54098 #40A54D
analogous
#8040A5 #A54098 #A54065
triadic
#A54098 #98A540 #4098A5
tetradic
#A54098 #A58040 #40A54D #4065A5
square
#A54098 #A58040 #40A54D #4065A5
split-complementary
#A54098 #65A540 #40A580
monochromatic
#4D1E47 #792F6F #A54098 #C261B5 #D38DCA

Accessibility & contrast

On white

5.55
#A54098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A54098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54098
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54098#FFFFFF#000000##FFFFFF
##A540981.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9B
Deuteranopia (green-blind)
#5E6E95
Tritanopia (blue-blind)
#AC4866
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a54098;
/* rgb */ color: rgb(165, 64, 152);
/* oklch */ color: oklch(54.0% 0.169 333.0);
Tailwind
colors: {
  custom: {
    50: '#c27bb6',
    500: '#a54098',
    950: '#000000',
  },
}
SCSS
$custom: #a54098;
$custom-light: #c27bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a54098",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 307.723,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.16928,
    "h": 333
  },
  "luminance": 0.13933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A54098

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

Preview Lab → · Contrast checker → · Palette generator →

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