#A54CA5#A54CA5

#A54CA5 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.2% C 0.162 H 327.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A54CA5
RGBrgb(165, 76, 165)
HSLhsl(300, 37%, 47%)
HSVhsv(300, 54%, 65%)
CMYKcmyk(0%, 53.9%, 0%, 35.3%)
CIE-LABlab(46.83, 49.10, -31.68)
CIE-LCHlch(46.83, 58.43, 327.17°)
OKLaboklab(56.21% 0.1366 -0.0871)
OKLCHoklch(56.21% 0.162 327.5)
XYZxyz(24.8926, 15.8863, 37.3452)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CA5 #4CA54C
analogous
#794CA5 #A54CA5 #A54C79
triadic
#A54CA5 #A5A54C #4CA5A5
tetradic
#A54CA5 #A5794C #4CA54C #4C79A5
square
#A54CA5 #A5794C #4CA54C #4C79A5
split-complementary
#A54CA5 #79A54C #4CA579
monochromatic
#512551 #7B397B #A54CA5 #BD71BD #D19BD1

Accessibility & contrast

On white

5.03
#A54CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A54CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54CA5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CA5#FFFFFF#000000##FFFFFF
##A54CA51.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A8
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#AA5671
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a54ca5;
/* rgb */ color: rgb(165, 76, 165);
/* oklch */ color: oklch(56.2% 0.162 327.5);
Tailwind
colors: {
  custom: {
    50: '#c282c0',
    500: '#a54ca5',
    950: '#000000',
  },
}
SCSS
$custom: #a54ca5;
$custom-light: #c282c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ca5",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.16197,
    "h": 327.5
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#A54CA5
secondary
#8FBD8F
accent
#CD5B5B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A54CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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