#AA54ED#AA54ED

#AA54ED is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.1% C 0.224 H 306.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AA54ED
RGBrgb(170, 84, 237)
HSLhsl(274, 81%, 63%)
HSVhsv(274, 65%, 93%)
CMYKcmyk(28.3%, 64.6%, 0%, 7.1%)
CIE-LABlab(52.95, 61.28, -63.31)
CIE-LCHlch(52.95, 88.11, 314.07°)
OKLaboklab(62.11% 0.1342 -0.1792)
OKLCHoklch(62.11% 0.224 306.8)
XYZxyz(35.0307, 21.0015, 82.3126)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54ED #97ED54
analogous
#5D54ED #AA54ED #ED54E4
triadic
#AA54ED #EDAA54 #54EDAA
tetradic
#AA54ED #ED5D54 #97ED54 #54E4ED
square
#AA54ED #ED5D54 #97ED54 #54E4ED
split-complementary
#AA54ED #E4ED54 #54ED5D
monochromatic
#6D13B4 #8E1DE7 #AA54ED #C68BF3 #E1C3F9

Accessibility & contrast

On white

4.04
#AA54ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AA54ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA54ED
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA54ED#FFFFFF#000000##000000
##AA54ED1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#317FEA
Tritanopia (blue-blind)
#9F7499
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa54ed;
/* rgb */ color: rgb(170, 84, 237);
/* oklch */ color: oklch(62.1% 0.224 306.8);
Tailwind
colors: {
  custom: {
    50: '#c889f4',
    500: '#aa54ed',
    950: '#000000',
  },
}
SCSS
$custom: #aa54ed;
$custom-light: #c889f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54ed",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 273.725,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62112,
    "c": 0.22394,
    "h": 306.8
  },
  "luminance": 0.21001
}

Semantic roles & 50–950 ramp

primary
#AA54ED
secondary
#CBEAB3
accent
#DD0866
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA54ED

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

Preview Lab → · Contrast checker → · Palette generator →

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