#A54AE9#A54AE9

#A54AE9 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.1% C 0.231 H 306.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A54AE9
RGBrgb(165, 74, 233)
HSLhsl(274, 78%, 60%)
HSVhsv(274, 68%, 91%)
CMYKcmyk(29.2%, 68.2%, 0%, 8.6%)
CIE-LABlab(50.43, 63.92, -65.17)
CIE-LCHlch(50.43, 91.28, 314.44°)
OKLaboklab(60.09% 0.1388 -0.1848)
OKLCHoklch(60.09% 0.231 306.9)
XYZxyz(32.6707, 18.7805, 78.9789)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54AE9 #8EE94A
analogous
#564AE9 #A54AE9 #E94ADD
triadic
#A54AE9 #E9A54A #4AE9A5
tetradic
#A54AE9 #E9564A #8EE94A #4ADDE9
square
#A54AE9 #E9564A #8EE94A #4ADDE9
split-complementary
#A54AE9 #DDE94A #4AE956
monochromatic
#6714A5 #891BDB #A54AE9 #C081F0 #DBB7F6

Accessibility & contrast

On white

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

On black

4.76
#A54AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54AE9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54AE9#FFFFFF#000000##000000
##A54AE91.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#1C79E6
Tritanopia (blue-blind)
#9A6E94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54ae9;
/* rgb */ color: rgb(165, 74, 233);
/* oklch */ color: oklch(60.1% 0.231 306.9);
Tailwind
colors: {
  custom: {
    50: '#c583f1',
    500: '#a54ae9',
    950: '#000000',
  },
}
SCSS
$custom: #a54ae9;
$custom-light: #c583f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ae9",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 233
  },
  "hsl": {
    "h": 274.34,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60086,
    "c": 0.23115,
    "h": 306.9
  },
  "luminance": 0.1878
}

Semantic roles & 50–950 ramp

primary
#A54AE9
secondary
#C3E6A9
accent
#DB0B64
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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