#A54EC0#A54EC0

#A54EC0 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.185 H 317.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A54EC0
RGBrgb(165, 78, 192)
HSLhsl(286, 48%, 53%)
HSVhsv(286, 59%, 75%)
CMYKcmyk(14.1%, 59.4%, 0%, 24.7%)
CIE-LABlab(48.58, 53.36, -44.71)
CIE-LCHlch(48.58, 69.61, 320.04°)
OKLaboklab(57.95% 0.1362 -0.1249)
OKLCHoklch(57.95% 0.185 317.5)
XYZxyz(27.7545, 17.2549, 51.7275)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EC0 #69C04E
analogous
#6C4EC0 #A54EC0 #C04EA2
triadic
#A54EC0 #C0A54E #4EC0A5
tetradic
#A54EC0 #C06C4E #69C04E #4EA2C0
square
#A54EC0 #C06C4E #69C04E #4EA2C0
split-complementary
#A54EC0 #A2C04E #4EC06C
monochromatic
#5C276D #82379A #A54EC0 #BC7BD0 #D3A8E0

Accessibility & contrast

On white

4.72
#A54EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A54EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54EC0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EC0#FFFFFF#000000##FFFFFF
##A54EC01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306EC4
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#A46180
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54ec0;
/* rgb */ color: rgb(165, 78, 192);
/* oklch */ color: oklch(57.9% 0.185 317.5);
Tailwind
colors: {
  custom: {
    50: '#c284d3',
    500: '#a54ec0',
    950: '#000000',
  },
}
SCSS
$custom: #a54ec0;
$custom-light: #c284d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ec0",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 285.789,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57947,
    "c": 0.18478,
    "h": 317.5
  },
  "luminance": 0.17254
}

Semantic roles & 50–950 ramp

primary
#A54EC0
secondary
#A8CE9C
accent
#D75171
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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