#A54AE2#A54AE2

#A54AE2 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.6% C 0.224 H 308.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A54AE2
RGBrgb(165, 74, 226)
HSLhsl(276, 72%, 59%)
HSVhsv(276, 67%, 89%)
CMYKcmyk(27%, 67.3%, 0%, 11.4%)
CIE-LABlab(49.96, 62.38, -61.97)
CIE-LCHlch(49.96, 87.93, 315.19°)
OKLaboklab(59.61% 0.1396 -0.1754)
OKLCHoklch(59.61% 0.224 308.5)
XYZxyz(31.6905, 18.3884, 73.8166)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54AE2 #87E24A
analogous
#594AE2 #A54AE2 #E24AD3
triadic
#A54AE2 #E2A54A #4AE2A5
tetradic
#A54AE2 #E2594A #87E24A #4AD3E2
square
#A54AE2 #E2594A #87E24A #4AD3E2
split-complementary
#A54AE2 #D3E24A #4AE259
monochromatic
#651999 #8821CE #A54AE2 #BF7FEA #D9B3F3

Accessibility & contrast

On white

4.49
#A54AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A54AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54AE2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54AE2#FFFFFF#000000##000000
##A54AE21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#2B78DF
Tritanopia (blue-blind)
#9C6B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54ae2;
/* rgb */ color: rgb(165, 74, 226);
/* oklch */ color: oklch(59.6% 0.224 308.5);
Tailwind
colors: {
  custom: {
    50: '#c483ec',
    500: '#a54ae2',
    950: '#000000',
  },
}
SCSS
$custom: #a54ae2;
$custom-light: #c483ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ae2",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 275.921,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.22418,
    "h": 308.5
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#A54AE2
secondary
#BEE2A6
accent
#EF3982
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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