#A54EE3#A54EE3

#A54EE3 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.220 H 307.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A54EE3
RGBrgb(165, 78, 227)
HSLhsl(275, 73%, 60%)
HSVhsv(275, 66%, 89%)
CMYKcmyk(27.3%, 65.6%, 0%, 11%)
CIE-LABlab(50.68, 60.79, -61.37)
CIE-LCHlch(50.68, 86.39, 314.73°)
OKLaboklab(60.14% 0.1352 -0.1737)
OKLCHoklch(60.14% 0.22 307.9)
XYZxyz(32.1037, 18.9946, 74.6332)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EE3 #8CE34E
analogous
#5B4EE3 #A54EE3 #E34ED6
triadic
#A54EE3 #E3A54E #4EE3A5
tetradic
#A54EE3 #E35B4E #8CE34E #4ED6E3
square
#A54EE3 #E35B4E #8CE34E #4ED6E3
split-complementary
#A54EE3 #D6E34E #4EE35B
monochromatic
#66199E #8921D3 #A54EE3 #C083EB #DBB8F4

Accessibility & contrast

On white

4.38
#A54EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A54EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54EE3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EE3#FFFFFF#000000##000000
##A54EE31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#2F7AE0
Tritanopia (blue-blind)
#9B6E92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54ee3;
/* rgb */ color: rgb(165, 78, 227);
/* oklch */ color: oklch(60.1% 0.220 307.9);
Tailwind
colors: {
  custom: {
    50: '#c485ed',
    500: '#a54ee3',
    950: '#000000',
  },
}
SCSS
$custom: #a54ee3;
$custom-light: #c485ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ee3",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 275.034,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60141,
    "c": 0.22013,
    "h": 307.9
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#A54EE3
secondary
#C2E3AA
accent
#EF3885
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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