#A54EA2#A54EA2

#A54EA2 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.3% C 0.156 H 328.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A54EA2
RGBrgb(165, 78, 162)
HSLhsl(302, 36%, 48%)
HSVhsv(302, 53%, 65%)
CMYKcmyk(0%, 52.7%, 1.8%, 35.3%)
CIE-LABlab(47.05, 47.57, -29.55)
CIE-LCHlch(47.05, 56.00, 328.15°)
OKLaboklab(56.33% 0.1333 -0.081)
OKLCHoklch(56.33% 0.156 328.7)
XYZxyz(24.7627, 16.0582, 35.9707)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EA2 #4EA551
analogous
#7C4EA5 #A54EA2 #A54E76
triadic
#A54EA2 #A2A54E #4EA2A5
tetradic
#A54EA2 #A57C4E #4EA551 #4E76A5
square
#A54EA2 #A57C4E #4EA551 #4E76A5
split-complementary
#A54EA2 #76A54E #4EA57C
monochromatic
#522750 #7B3A79 #A54EA2 #BD73BA #D19DCF

Accessibility & contrast

On white

4.99
#A54EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A54EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54EA2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EA2#FFFFFF#000000##FFFFFF
##A54EA21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#62749F
Tritanopia (blue-blind)
#AA5771
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a54ea2;
/* rgb */ color: rgb(165, 78, 162);
/* oklch */ color: oklch(56.3% 0.156 328.7);
Tailwind
colors: {
  custom: {
    50: '#c283be',
    500: '#a54ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a54ea2;
$custom-light: #c283be;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ea2",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 302.069,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.15602,
    "h": 328.7
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#A54EA2
secondary
#91BD93
accent
#CC605C
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A54EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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