#A54AE6#A54AE6

#A54AE6 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.9% C 0.228 H 307.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A54AE6
RGBrgb(165, 74, 230)
HSLhsl(275, 76%, 60%)
HSVhsv(275, 68%, 90%)
CMYKcmyk(28.3%, 67.8%, 0%, 9.8%)
CIE-LABlab(50.23, 63.26, -63.80)
CIE-LCHlch(50.23, 89.84, 314.76°)
OKLaboklab(59.88% 0.1392 -0.1808)
OKLCHoklch(59.88% 0.228 307.6)
XYZxyz(32.2458, 18.6105, 76.7410)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54AE6 #8BE64A
analogous
#574AE6 #A54AE6 #E64AD9
triadic
#A54AE6 #E6A54A #4AE6A5
tetradic
#A54AE6 #E6574A #8BE64A #4AD9E6
square
#A54AE6 #E6574A #8BE64A #4AD9E6
split-complementary
#A54AE6 #D9E64A #4AE657
monochromatic
#6616A0 #891DD5 #A54AE6 #C080ED #DAB6F5

Accessibility & contrast

On white

4.45
#A54AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A54AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54AE6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54AE6#FFFFFF#000000##000000
##A54AE61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#2378E3
Tritanopia (blue-blind)
#9B6C92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54ae6;
/* rgb */ color: rgb(165, 74, 230);
/* oklch */ color: oklch(59.9% 0.228 307.6);
Tailwind
colors: {
  custom: {
    50: '#c483ef',
    500: '#a54ae6',
    950: '#000000',
  },
}
SCSS
$custom: #a54ae6;
$custom-light: #c483ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ae6",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 275,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59879,
    "c": 0.22816,
    "h": 307.6
  },
  "luminance": 0.1861
}

Semantic roles & 50–950 ramp

primary
#A54AE6
secondary
#C1E4A8
accent
#F23584
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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