#A54DA2#A54DA2

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

Color values

HEX#A54DA2
RGBrgb(165, 77, 162)
HSLhsl(302, 36%, 47%)
HSVhsv(302, 53%, 65%)
CMYKcmyk(0%, 53.3%, 1.8%, 35.3%)
CIE-LABlab(46.87, 48.07, -29.84)
CIE-LCHlch(46.87, 56.58, 328.17°)
OKLaboklab(56.19% 0.1347 -0.0818)
OKLCHoklch(56.19% 0.158 328.7)
XYZxyz(24.6922, 15.9172, 35.9472)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DA2 #4DA550
analogous
#7C4DA5 #A54DA2 #A54D76
triadic
#A54DA2 #A2A54D #4DA2A5
tetradic
#A54DA2 #A57C4D #4DA550 #4D76A5
square
#A54DA2 #A57C4D #4DA550 #4D76A5
split-complementary
#A54DA2 #76A54D #4DA57C
monochromatic
#522650 #7B3A79 #A54DA2 #BD72BB #D19CCF

Accessibility & contrast

On white

5.02
#A54DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A54DA2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DA2#FFFFFF#000000##FFFFFF
##A54DA21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#AA5670
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a54da2;
/* rgb */ color: rgb(165, 77, 162);
/* oklch */ color: oklch(56.2% 0.158 328.7);
Tailwind
colors: {
  custom: {
    50: '#c283be',
    500: '#a54da2',
    950: '#000000',
  },
}
SCSS
$custom: #a54da2;
$custom-light: #c283be;
$custom-dark: #000000;
JSON
{
  "hex": "#a54da2",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 302.045,
    "s": 36.364,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.15765,
    "h": 328.7
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#A54DA2
secondary
#90BD92
accent
#CC5F5B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A54DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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