#AA55E8#AA55E8

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

Color values

HEX#AA55E8
RGBrgb(170, 85, 232)
HSLhsl(275, 76%, 62%)
HSVhsv(275, 63%, 91%)
CMYKcmyk(26.7%, 63.4%, 0%, 9%)
CIE-LABlab(52.81, 59.70, -60.74)
CIE-LCHlch(52.81, 85.17, 314.51°)
OKLaboklab(61.91% 0.1335 -0.1717)
OKLCHoklch(61.91% 0.217 307.9)
XYZxyz(34.3886, 20.8697, 78.5449)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55E8 #93E855
analogous
#6155E8 #AA55E8 #E855DC
triadic
#AA55E8 #E8AA55 #55E8AA
tetradic
#AA55E8 #E86155 #93E855 #55DCE8
square
#AA55E8 #E86155 #93E855 #55DCE8
split-complementary
#AA55E8 #DCE855 #55E861
monochromatic
#6D17AB #8F1FE1 #AA55E8 #C58BEF #E0C1F7

Accessibility & contrast

On white

4.06
#AA55E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA55E8#FFFFFF#000000##000000
##AA55E81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#3A7FE5
Tritanopia (blue-blind)
#A07397
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa55e8;
/* rgb */ color: rgb(170, 85, 232);
/* oklch */ color: oklch(61.9% 0.217 307.9);
Tailwind
colors: {
  custom: {
    50: '#c78af0',
    500: '#aa55e8',
    950: '#000000',
  },
}
SCSS
$custom: #aa55e8;
$custom-light: #c78af0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55e8",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 274.694,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.21747,
    "h": 307.9
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#AA55E8
secondary
#C8E7B1
accent
#D80D63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA55E8

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

Preview Lab → · Contrast checker → · Palette generator →

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