#AA54E6#AA54E6

#AA54E6 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.217 H 308.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AA54E6
RGBrgb(170, 84, 230)
HSLhsl(275, 74%, 62%)
HSVhsv(275, 63%, 90%)
CMYKcmyk(26.1%, 63.5%, 0%, 9.8%)
CIE-LABlab(52.51, 59.73, -60.09)
CIE-LCHlch(52.51, 84.73, 314.83°)
OKLaboklab(61.65% 0.1347 -0.1698)
OKLCHoklch(61.65% 0.217 308.4)
XYZxyz(34.0279, 20.6004, 77.0313)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54E6 #90E654
analogous
#6154E6 #AA54E6 #E654D9
triadic
#AA54E6 #E6AA54 #54E6AA
tetradic
#AA54E6 #E66154 #90E654 #54D9E6
square
#AA54E6 #E66154 #90E654 #54D9E6
split-complementary
#AA54E6 #D9E654 #54E661
monochromatic
#6D18A7 #8F20DD #AA54E6 #C589EE #DFBFF6

Accessibility & contrast

On white

4.10
#AA54E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AA54E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA54E6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA54E6#FFFFFF#000000##000000
##AA54E61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#3B7EE3
Tritanopia (blue-blind)
#A17296
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa54e6;
/* rgb */ color: rgb(170, 84, 230);
/* oklch */ color: oklch(61.7% 0.217 308.4);
Tailwind
colors: {
  custom: {
    50: '#c789ef',
    500: '#aa54e6',
    950: '#000000',
  },
}
SCSS
$custom: #aa54e6;
$custom-light: #c789ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54e6",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 275.342,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.21673,
    "h": 308.4
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#AA54E6
secondary
#C6E6B0
accent
#D70F61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AA54E6

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

Preview Lab → · Contrast checker → · Palette generator →

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