#A54EE9#A54EE9

#A54EE9 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.5% C 0.226 H 306.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A54EE9
RGBrgb(165, 78, 233)
HSLhsl(274, 78%, 61%)
HSVhsv(274, 67%, 91%)
CMYKcmyk(29.2%, 66.5%, 0%, 8.6%)
CIE-LABlab(51.07, 62.12, -64.13)
CIE-LCHlch(51.07, 89.28, 314.09°)
OKLaboklab(60.55% 0.1347 -0.1818)
OKLCHoklch(60.55% 0.226 306.5)
XYZxyz(32.9463, 19.3316, 79.0707)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EE9 #92E94E
analogous
#574EE9 #A54EE9 #E94EE0
triadic
#A54EE9 #E9A54E #4EE9A5
tetradic
#A54EE9 #E9574E #92E94E #4EE0E9
square
#A54EE9 #E9574E #92E94E #4EE0E9
split-complementary
#A54EE9 #E0E94E #4EE957
monochromatic
#6715A8 #891CDE #A54EE9 #C184F0 #DCBBF7

Accessibility & contrast

On white

4.32
#A54EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A54EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54EE9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EE9#FFFFFF#000000##000000
##A54EE91.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#247AE6
Tritanopia (blue-blind)
#9A7095
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a54ee9;
/* rgb */ color: rgb(165, 78, 233);
/* oklch */ color: oklch(60.5% 0.226 306.5);
Tailwind
colors: {
  custom: {
    50: '#c485f1',
    500: '#a54ee9',
    950: '#000000',
  },
}
SCSS
$custom: #a54ee9;
$custom-light: #c485f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ee9",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 273.677,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60547,
    "c": 0.22622,
    "h": 306.5
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#A54EE9
secondary
#C6E7AC
accent
#DA0B66
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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