#A54FA3#A54FA3

#A54FA3 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.5% C 0.155 H 328.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A54FA3
RGBrgb(165, 79, 163)
HSLhsl(301, 35%, 48%)
HSVhsv(301, 52%, 65%)
CMYKcmyk(0%, 52.1%, 1.2%, 35.3%)
CIE-LABlab(47.28, 47.26, -29.78)
CIE-LCHlch(47.28, 55.86, 327.78°)
OKLaboklab(56.52% 0.1321 -0.0817)
OKLCHoklch(56.52% 0.155 328.3)
XYZxyz(24.9235, 16.2371, 36.4645)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FA3 #4FA551
analogous
#7C4FA5 #A54FA3 #A54F78
triadic
#A54FA3 #A3A54F #4FA3A5
tetradic
#A54FA3 #A57C4F #4FA551 #4F78A5
square
#A54FA3 #A57C4F #4FA551 #4F78A5
split-complementary
#A54FA3 #78A54F #4FA57C
monochromatic
#522751 #7C3B7A #A54FA3 #BD75BB #D19ECF

Accessibility & contrast

On white

4.94
#A54FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A54FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54FA3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FA3#FFFFFF#000000##FFFFFF
##A54FA31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A6
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#AA5872
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a54fa3;
/* rgb */ color: rgb(165, 79, 163);
/* oklch */ color: oklch(56.5% 0.155 328.3);
Tailwind
colors: {
  custom: {
    50: '#c284be',
    500: '#a54fa3',
    950: '#000000',
  },
}
SCSS
$custom: #a54fa3;
$custom-light: #c284be;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fa3",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 301.395,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.1553,
    "h": 328.3
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#A54FA3
secondary
#92BD93
accent
#CB5F5D
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A54FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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