#A54DE1#A54DE1

#A54DE1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.219 H 308.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A54DE1
RGBrgb(165, 77, 225)
HSLhsl(276, 71%, 59%)
HSVhsv(276, 66%, 88%)
CMYKcmyk(26.7%, 65.8%, 0%, 11.8%)
CIE-LABlab(50.39, 60.81, -60.72)
CIE-LCHlch(50.39, 85.93, 315.04°)
OKLaboklab(59.89% 0.1365 -0.1718)
OKLCHoklch(59.89% 0.219 308.5)
XYZxyz(31.7588, 18.7438, 73.1644)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DE1 #89E14D
analogous
#5B4DE1 #A54DE1 #E14DD3
triadic
#A54DE1 #E1A54D #4DE1A5
tetradic
#A54DE1 #E15B4D #89E14D #4DD3E1
square
#A54DE1 #E15B4D #89E14D #4DD3E1
split-complementary
#A54DE1 #D3E14D #4DE15B
monochromatic
#661A9A #8923CE #A54DE1 #BF81EA #DAB6F3

Accessibility & contrast

On white

4.42
#A54DE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A54DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DE1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DE1#FFFFFF#000000##000000
##A54DE11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#3179DE
Tritanopia (blue-blind)
#9C6C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54de1;
/* rgb */ color: rgb(165, 77, 225);
/* oklch */ color: oklch(59.9% 0.219 308.5);
Tailwind
colors: {
  custom: {
    50: '#c485eb',
    500: '#a54de1',
    950: '#000000',
  },
}
SCSS
$custom: #a54de1;
$custom-light: #c485eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a54de1",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 275.676,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.21939,
    "h": 308.5
  },
  "luminance": 0.18743
}

Semantic roles & 50–950 ramp

primary
#A54DE1
secondary
#BFE2A8
accent
#EE3A83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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