#A54ABE#A54ABE

#A54ABE is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.3% C 0.189 H 318.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A54ABE
RGBrgb(165, 74, 190)
HSLhsl(287, 47%, 52%)
HSVhsv(287, 61%, 75%)
CMYKcmyk(13.2%, 61.1%, 0%, 25.5%)
CIE-LABlab(47.77, 54.85, -44.84)
CIE-LCHlch(47.77, 70.84, 320.74°)
OKLaboklab(57.32% 0.1411 -0.1252)
OKLCHoklch(57.32% 0.189 318.4)
XYZxyz(27.2588, 16.6157, 50.4765)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54ABE #63BE4A
analogous
#6B4ABE #A54ABE #BE4A9D
triadic
#A54ABE #BEA54A #4ABEA5
tetradic
#A54ABE #BE6B4A #63BE4A #4A9DBE
square
#A54ABE #BE6B4A #63BE4A #4A9DBE
split-complementary
#A54ABE #9DBE4A #4ABE6B
monochromatic
#5A2568 #813695 #A54ABE #BB77CE #D2A4DE

Accessibility & contrast

On white

4.86
#A54ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A54ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54ABE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54ABE#FFFFFF#000000##FFFFFF
##A54ABE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#A55D7D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54abe;
/* rgb */ color: rgb(165, 74, 190);
/* oklch */ color: oklch(57.3% 0.189 318.4);
Tailwind
colors: {
  custom: {
    50: '#c382d2',
    500: '#a54abe',
    950: '#000000',
  },
}
SCSS
$custom: #a54abe;
$custom-light: #c382d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54abe",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 287.069,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.18867,
    "h": 318.4
  },
  "luminance": 0.16615
}

Semantic roles & 50–950 ramp

primary
#A54ABE
secondary
#A3CB98
accent
#D7516E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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