#A54ABC#A54ABC

#A54ABC is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.187 H 319.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A54ABC
RGBrgb(165, 74, 188)
HSLhsl(288, 46%, 51%)
HSVhsv(288, 61%, 74%)
CMYKcmyk(12.2%, 60.6%, 0%, 26.3%)
CIE-LABlab(47.66, 54.45, -43.85)
CIE-LCHlch(47.66, 69.91, 321.16°)
OKLaboklab(57.21% 0.1411 -0.1224)
OKLCHoklch(57.21% 0.187 319.1)
XYZxyz(27.0417, 16.5289, 49.3332)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54ABC #61BC4A
analogous
#6C4ABC #A54ABC #BC4A9A
triadic
#A54ABC #BCA54A #4ABCA5
tetradic
#A54ABC #BC6C4A #61BC4A #4A9ABC
square
#A54ABC #BC6C4A #61BC4A #4A9ABC
split-complementary
#A54ABC #9ABC4A #4ABC6C
monochromatic
#592666 #803693 #A54ABC #BB77CD #D1A3DD

Accessibility & contrast

On white

4.88
#A54ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A54ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54ABC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54ABC#FFFFFF#000000##FFFFFF
##A54ABC1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#A55D7C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54abc;
/* rgb */ color: rgb(165, 74, 188);
/* oklch */ color: oklch(57.2% 0.187 319.1);
Tailwind
colors: {
  custom: {
    50: '#c382d1',
    500: '#a54abc',
    950: '#000000',
  },
}
SCSS
$custom: #a54abc;
$custom-light: #c382d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54abc",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 287.895,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57207,
    "c": 0.18673,
    "h": 319.1
  },
  "luminance": 0.16528
}

Semantic roles & 50–950 ramp

primary
#A54ABC
secondary
#A2CA98
accent
#D6526D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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