#AA54EA#AA54EA

#AA54EA is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.221 H 307.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AA54EA
RGBrgb(170, 84, 234)
HSLhsl(274, 78%, 62%)
HSVhsv(274, 64%, 92%)
CMYKcmyk(27.4%, 64.1%, 0%, 8.2%)
CIE-LABlab(52.76, 60.62, -61.94)
CIE-LCHlch(52.76, 86.66, 314.38°)
OKLaboklab(61.91% 0.1345 -0.1752)
OKLCHoklch(61.91% 0.221 307.5)
XYZxyz(34.5961, 20.8277, 80.0236)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54EA #94EA54
analogous
#5F54EA #AA54EA #EA54DF
triadic
#AA54EA #EAAA54 #54EAAA
tetradic
#AA54EA #EA5F54 #94EA54 #54DFEA
square
#AA54EA #EA5F54 #94EA54 #54DFEA
split-complementary
#AA54EA #DFEA54 #54EA5F
monochromatic
#6D15AE #8F1DE3 #AA54EA #C58BF1 #E0C1F7

Accessibility & contrast

On white

4.07
#AA54EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AA54EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA54EA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA54EA#FFFFFF#000000##000000
##AA54EA1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#A07398
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa54ea;
/* rgb */ color: rgb(170, 84, 234);
/* oklch */ color: oklch(61.9% 0.221 307.5);
Tailwind
colors: {
  custom: {
    50: '#c889f1',
    500: '#aa54ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa54ea;
$custom-light: #c889f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54ea",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 274.4,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61914,
    "c": 0.22086,
    "h": 307.5
  },
  "luminance": 0.20827
}

Semantic roles & 50–950 ramp

primary
#AA54EA
secondary
#C9E8B2
accent
#DA0B64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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