#A54698#A54698

#A54698 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.8% C 0.160 H 333.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A54698
RGBrgb(165, 70, 152)
HSLhsl(308, 40%, 46%)
HSVhsv(308, 58%, 65%)
CMYKcmyk(0%, 57.6%, 7.9%, 35.3%)
CIE-LABlab(45.15, 49.69, -26.56)
CIE-LCHlch(45.15, 56.34, 331.87°)
OKLaboklab(54.78% 0.1428 -0.0724)
OKLCHoklch(54.78% 0.16 333.1)
XYZxyz(23.3747, 14.6483, 31.2959)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54698 #46A553
analogous
#8246A5 #A54698 #A54668
triadic
#A54698 #98A546 #4698A5
tetradic
#A54698 #A58246 #46A553 #4668A5
square
#A54698 #A58246 #46A553 #4668A5
split-complementary
#A54698 #68A546 #46A582
monochromatic
#4F2249 #7A3470 #A54698 #BF69B3 #D294C9

Accessibility & contrast

On white

5.34
#A54698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A54698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54698
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54698#FFFFFF#000000##FFFFFF
##A546981.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629B
Deuteranopia (green-blind)
#617095
Tritanopia (blue-blind)
#AC4D68
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a54698;
/* rgb */ color: rgb(165, 70, 152);
/* oklch */ color: oklch(54.8% 0.160 333.1);
Tailwind
colors: {
  custom: {
    50: '#c27fb6',
    500: '#a54698',
    950: '#000000',
  },
}
SCSS
$custom: #a54698;
$custom-light: #c27fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a54698",
  "rgb": {
    "r": 165,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 308.211,
    "s": 40.426,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.16015,
    "h": 333.1
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#A54698
secondary
#89BD91
accent
#D06858
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54698

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

Preview Lab → · Contrast checker → · Palette generator →

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