#A54AE7#A54AE7

#A54AE7 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.229 H 307.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A54AE7
RGBrgb(165, 74, 231)
HSLhsl(275, 77%, 60%)
HSVhsv(275, 68%, 91%)
CMYKcmyk(28.6%, 68%, 0%, 9.4%)
CIE-LABlab(50.30, 63.48, -64.26)
CIE-LCHlch(50.30, 90.32, 314.65°)
OKLaboklab(59.95% 0.1391 -0.1821)
OKLCHoklch(59.95% 0.229 307.4)
XYZxyz(32.3866, 18.6668, 77.4827)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54AE7 #8CE74A
analogous
#574AE7 #A54AE7 #E74ADA
triadic
#A54AE7 #E7A54A #4AE7A5
tetradic
#A54AE7 #E7574A #8CE74A #4ADAE7
square
#A54AE7 #E7574A #8CE74A #4ADAE7
split-complementary
#A54AE7 #DAE74A #4AE757
monochromatic
#6615A1 #891DD7 #A54AE7 #C080EE #DBB6F5

Accessibility & contrast

On white

4.44
#A54AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A54AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54AE7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54AE7#FFFFFF#000000##000000
##A54AE71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#2178E4
Tritanopia (blue-blind)
#9A6D93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54ae7;
/* rgb */ color: rgb(165, 74, 231);
/* oklch */ color: oklch(59.9% 0.229 307.4);
Tailwind
colors: {
  custom: {
    50: '#c583ef',
    500: '#a54ae7',
    950: '#000000',
  },
}
SCSS
$custom: #a54ae7;
$custom-light: #c583ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ae7",
  "rgb": {
    "r": 165,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 274.777,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59948,
    "c": 0.22915,
    "h": 307.4
  },
  "luminance": 0.18666
}

Semantic roles & 50–950 ramp

primary
#A54AE7
secondary
#C2E5A8
accent
#F33585
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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