#A54FAC#A54FAC

#A54FAC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.0% C 0.164 H 324.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A54FAC
RGBrgb(165, 79, 172)
HSLhsl(295, 37%, 49%)
HSVhsv(295, 54%, 67%)
CMYKcmyk(4.1%, 54.1%, 0%, 32.5%)
CIE-LABlab(47.72, 48.93, -34.41)
CIE-LCHlch(47.72, 59.82, 324.89°)
OKLaboklab(56.97% 0.1333 -0.095)
OKLCHoklch(56.97% 0.164 324.5)
XYZxyz(25.7588, 16.5712, 40.8635)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FAC #56AC4F
analogous
#774FAC #A54FAC #AC4F85
triadic
#A54FAC #ACA54F #4FACA5
tetradic
#A54FAC #AC774F #56AC4F #4F85AC
square
#A54FAC #AC774F #56AC4F #4F85AC
split-complementary
#A54FAC #85AC4F #4FAC77
monochromatic
#552858 #7D3C82 #A54FAC #BB77C1 #D0A1D4

Accessibility & contrast

On white

4.87
#A54FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A54FAC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FAC#FFFFFF#000000##FFFFFF
##A54FAC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#A85B76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54fac;
/* rgb */ color: rgb(165, 79, 172);
/* oklch */ color: oklch(57.0% 0.164 324.5);
Tailwind
colors: {
  custom: {
    50: '#c284c5',
    500: '#a54fac',
    950: '#000000',
  },
}
SCSS
$custom: #a54fac;
$custom-light: #c284c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fac",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 295.484,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56975,
    "c": 0.1637,
    "h": 324.5
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

primary
#A54FAC
secondary
#99C196
accent
#CD5B63
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A54FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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