#AA54E4#AA54E4

#AA54E4 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.215 H 308.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AA54E4
RGBrgb(170, 84, 228)
HSLhsl(276, 73%, 61%)
HSVhsv(276, 63%, 89%)
CMYKcmyk(25.4%, 63.2%, 0%, 10.6%)
CIE-LABlab(52.39, 59.30, -59.16)
CIE-LCHlch(52.39, 83.76, 315.06°)
OKLaboklab(61.52% 0.1348 -0.1671)
OKLCHoklch(61.52% 0.215 308.9)
XYZxyz(33.7487, 20.4887, 75.5606)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54E4 #8EE454
analogous
#6254E4 #AA54E4 #E454D6
triadic
#AA54E4 #E4AA54 #54E4AA
tetradic
#AA54E4 #E46254 #8EE454 #54D6E4
square
#AA54E4 #E46254 #8EE454 #54D6E4
split-complementary
#AA54E4 #D6E454 #54E462
monochromatic
#6C1AA4 #8F22D9 #AA54E4 #C489EC #DFBEF5

Accessibility & contrast

On white

4.12
#AA54E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AA54E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA54E4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA54E4#FFFFFF#000000##000000
##AA54E41.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#3D7EE1
Tritanopia (blue-blind)
#A27195
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa54e4;
/* rgb */ color: rgb(170, 84, 228);
/* oklch */ color: oklch(61.5% 0.215 308.9);
Tailwind
colors: {
  custom: {
    50: '#c789ed',
    500: '#aa54e4',
    950: '#000000',
  },
}
SCSS
$custom: #aa54e4;
$custom-light: #c789ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54e4",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 275.833,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61523,
    "c": 0.21468,
    "h": 308.9
  },
  "luminance": 0.20488
}

Semantic roles & 50–950 ramp

primary
#AA54E4
secondary
#C5E5AF
accent
#D51160
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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