#A54EC9#A54EC9

#A54EC9 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.5% C 0.194 H 314.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A54EC9
RGBrgb(165, 78, 201)
HSLhsl(282, 53%, 55%)
HSVhsv(282, 61%, 79%)
CMYKcmyk(17.9%, 61.2%, 0%, 21.2%)
CIE-LABlab(49.09, 55.21, -49.10)
CIE-LCHlch(49.09, 73.88, 318.35°)
OKLaboklab(58.48% 0.1363 -0.1377)
OKLCHoklch(58.48% 0.194 314.7)
XYZxyz(28.7823, 17.6661, 57.1407)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EC9 #72C94E
analogous
#684EC9 #A54EC9 #C94EB0
triadic
#A54EC9 #C9A54E #4EC9A5
tetradic
#A54EC9 #C9684E #72C94E #4EB0C9
square
#A54EC9 #C9684E #72C94E #4EB0C9
split-complementary
#A54EC9 #B0C94E #4EC968
monochromatic
#602578 #8533A7 #A54EC9 #BD7DD7 #D5ACE6

Accessibility & contrast

On white

4.63
#A54EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A54EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A54EC9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EC9#FFFFFF#000000##FFFFFF
##A54EC91.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CD
Deuteranopia (green-blind)
#4B77C6
Tritanopia (blue-blind)
#A26484
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a54ec9;
/* rgb */ color: rgb(165, 78, 201);
/* oklch */ color: oklch(58.5% 0.194 314.7);
Tailwind
colors: {
  custom: {
    50: '#c384da',
    500: '#a54ec9',
    950: '#000000',
  },
}
SCSS
$custom: #a54ec9;
$custom-light: #c384da;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ec9",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 282.439,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.19378,
    "h": 314.7
  },
  "luminance": 0.17665
}

Semantic roles & 50–950 ramp

primary
#A54EC9
secondary
#AFD39F
accent
#DD4B76
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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