#A54AEA#A54AEA

#A54AEA is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.2% C 0.232 H 306.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A54AEA
RGBrgb(165, 74, 234)
HSLhsl(274, 79%, 60%)
HSVhsv(274, 68%, 92%)
CMYKcmyk(29.5%, 68.4%, 0%, 8.2%)
CIE-LABlab(50.50, 64.14, -65.62)
CIE-LCHlch(50.50, 91.76, 314.34°)
OKLaboklab(60.16% 0.1387 -0.1861)
OKLCHoklch(60.16% 0.232 306.7)
XYZxyz(32.8139, 18.8378, 79.7333)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54AEA #8FEA4A
analogous
#554AEA #A54AEA #EA4ADF
triadic
#A54AEA #EAA54A #4AEAA5
tetradic
#A54AEA #EA554A #8FEA4A #4ADFEA
square
#A54AEA #EA554A #8FEA4A #4ADFEA
split-complementary
#A54AEA #DFEA4A #4AEA55
monochromatic
#6713A6 #891ADD #A54AEA #C081F0 #DCB8F7

Accessibility & contrast

On white

4.40
#A54AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A54AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54AEA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54AEA#FFFFFF#000000##000000
##A54AEA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#1979E7
Tritanopia (blue-blind)
#996E95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54aea;
/* rgb */ color: rgb(165, 74, 234);
/* oklch */ color: oklch(60.2% 0.232 306.7);
Tailwind
colors: {
  custom: {
    50: '#c583f2',
    500: '#a54aea',
    950: '#000000',
  },
}
SCSS
$custom: #a54aea;
$custom-light: #c583f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54aea",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 234
  },
  "hsl": {
    "h": 274.125,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60156,
    "c": 0.23214,
    "h": 306.7
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#A54AEA
secondary
#C4E6A9
accent
#DC0A64
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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