#A54ABB#A54ABB

#A54ABB is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.186 H 319.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A54ABB
RGBrgb(165, 74, 187)
HSLhsl(288, 45%, 51%)
HSVhsv(288, 60%, 73%)
CMYKcmyk(11.8%, 60.4%, 0%, 26.7%)
CIE-LABlab(47.61, 54.25, -43.36)
CIE-LCHlch(47.61, 69.45, 321.37°)
OKLaboklab(57.15% 0.141 -0.1209)
OKLCHoklch(57.15% 0.186 319.4)
XYZxyz(26.9343, 16.4859, 48.7674)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54ABB #60BB4A
analogous
#6C4ABB #A54ABB #BB4A98
triadic
#A54ABB #BBA54A #4ABBA5
tetradic
#A54ABB #BB6C4A #60BB4A #4A98BB
square
#A54ABB #BB6C4A #60BB4A #4A98BB
split-complementary
#A54ABB #98BB4A #4ABB6C
monochromatic
#592665 #803791 #A54ABB #BB76CC #D1A3DC

Accessibility & contrast

On white

4.89
#A54ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A54ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54ABB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54ABB#FFFFFF#000000##FFFFFF
##A54ABB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#A55C7C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54abb;
/* rgb */ color: rgb(165, 74, 187);
/* oklch */ color: oklch(57.1% 0.186 319.4);
Tailwind
colors: {
  custom: {
    50: '#c382d0',
    500: '#a54abb',
    950: '#000000',
  },
}
SCSS
$custom: #a54abb;
$custom-light: #c382d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54abb",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 288.319,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.18577,
    "h": 319.4
  },
  "luminance": 0.16485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A54ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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