#A54AE3#A54AE3

#A54AE3 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.225 H 308.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A54AE3
RGBrgb(165, 74, 227)
HSLhsl(276, 73%, 59%)
HSVhsv(276, 67%, 89%)
CMYKcmyk(27.3%, 67.4%, 0%, 11%)
CIE-LABlab(50.03, 62.60, -62.42)
CIE-LCHlch(50.03, 88.41, 315.08°)
OKLaboklab(59.67% 0.1395 -0.1767)
OKLCHoklch(59.67% 0.225 308.3)
XYZxyz(31.8281, 18.4434, 74.5414)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54AE3 #88E34A
analogous
#594AE3 #A54AE3 #E34AD5
triadic
#A54AE3 #E3A54A #4AE3A5
tetradic
#A54AE3 #E3594A #88E34A #4AD5E3
square
#A54AE3 #E3594A #88E34A #4AD5E3
split-complementary
#A54AE3 #D5E34A #4AE359
monochromatic
#66189B #8920D0 #A54AE3 #BF7FEB #DAB4F3

Accessibility & contrast

On white

4.48
#A54AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A54AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54AE3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54AE3#FFFFFF#000000##000000
##A54AE31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#2978E0
Tritanopia (blue-blind)
#9B6B91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54ae3;
/* rgb */ color: rgb(165, 74, 227);
/* oklch */ color: oklch(59.7% 0.225 308.3);
Tailwind
colors: {
  custom: {
    50: '#c483ed',
    500: '#a54ae3',
    950: '#000000',
  },
}
SCSS
$custom: #a54ae3;
$custom-light: #c483ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ae3",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 275.686,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59674,
    "c": 0.22517,
    "h": 308.3
  },
  "luminance": 0.18443
}

Semantic roles & 50–950 ramp

primary
#A54AE3
secondary
#BFE2A6
accent
#F03882
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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