#A54AE1#A54AE1

#A54AE1 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.5% C 0.223 H 308.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A54AE1
RGBrgb(165, 74, 225)
HSLhsl(276, 72%, 59%)
HSVhsv(276, 67%, 88%)
CMYKcmyk(26.7%, 67.1%, 0%, 11.8%)
CIE-LABlab(49.90, 62.17, -61.50)
CIE-LCHlch(49.90, 87.45, 315.31°)
OKLaboklab(59.54% 0.1397 -0.174)
OKLCHoklch(59.54% 0.223 308.8)
XYZxyz(31.5537, 18.3337, 73.0961)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54AE1 #86E14A
analogous
#594AE1 #A54AE1 #E14AD1
triadic
#A54AE1 #E1A54A #4AE1A5
tetradic
#A54AE1 #E1594A #86E14A #4AD1E1
square
#A54AE1 #E1594A #86E14A #4AD1E1
split-complementary
#A54AE1 #D1E14A #4AE159
monochromatic
#651997 #8822CC #A54AE1 #BF7EEA #D9B3F2

Accessibility & contrast

On white

4.50
#A54AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A54AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54AE1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54AE1#FFFFFF#000000##000000
##A54AE11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#9C6A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54ae1;
/* rgb */ color: rgb(165, 74, 225);
/* oklch */ color: oklch(59.5% 0.223 308.8);
Tailwind
colors: {
  custom: {
    50: '#c483eb',
    500: '#a54ae1',
    950: '#000000',
  },
}
SCSS
$custom: #a54ae1;
$custom-light: #c483eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ae1",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 276.159,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.22319,
    "h": 308.8
  },
  "luminance": 0.18333
}

Semantic roles & 50–950 ramp

primary
#A54AE1
secondary
#BDE1A6
accent
#EE3981
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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