#A54ABA#A54ABA

#A54ABA is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.1% C 0.185 H 319.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A54ABA
RGBrgb(165, 74, 186)
HSLhsl(289, 45%, 51%)
HSVhsv(289, 60%, 73%)
CMYKcmyk(11.3%, 60.2%, 0%, 27.1%)
CIE-LABlab(47.55, 54.06, -42.86)
CIE-LCHlch(47.55, 68.99, 321.59°)
OKLaboklab(57.09% 0.141 -0.1195)
OKLCHoklch(57.09% 0.185 319.7)
XYZxyz(26.8276, 16.4433, 48.2056)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54ABA #5FBA4A
analogous
#6D4ABA #A54ABA #BA4A97
triadic
#A54ABA #BAA54A #4ABAA5
tetradic
#A54ABA #BA6D4A #5FBA4A #4A97BA
square
#A54ABA #BA6D4A #5FBA4A #4A97BA
split-complementary
#A54ABA #97BA4A #4ABA6D
monochromatic
#582664 #7F3790 #A54ABA #BB76CB #D1A3DC

Accessibility & contrast

On white

4.90
#A54ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A54ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54ABA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54ABA#FFFFFF#000000##FFFFFF
##A54ABA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBD
Deuteranopia (green-blind)
#5274B7
Tritanopia (blue-blind)
#A65C7B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54aba;
/* rgb */ color: rgb(165, 74, 186);
/* oklch */ color: oklch(57.1% 0.185 319.7);
Tailwind
colors: {
  custom: {
    50: '#c282cf',
    500: '#a54aba',
    950: '#000000',
  },
}
SCSS
$custom: #a54aba;
$custom-light: #c282cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a54aba",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 288.75,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.18481,
    "h": 319.7
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#A54ABA
secondary
#A0C997
accent
#D5536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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