#AA5CE8#AA5CE8

#AA5CE8 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.8% C 0.208 H 307.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AA5CE8
RGBrgb(170, 92, 232)
HSLhsl(273, 75%, 64%)
HSVhsv(273, 60%, 91%)
CMYKcmyk(26.7%, 60.3%, 0%, 9%)
CIE-LABlab(54.06, 56.31, -58.73)
CIE-LCHlch(54.06, 81.36, 313.79°)
OKLaboklab(62.81% 0.1254 -0.1658)
OKLCHoklch(62.81% 0.208 307.1)
XYZxyz(34.9672, 22.0269, 78.7378)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CE8 #9AE85C
analogous
#645CE8 #AA5CE8 #E85CE0
triadic
#AA5CE8 #E8AA5C #5CE8AA
tetradic
#AA5CE8 #E8645C #9AE85C #5CE0E8
square
#AA5CE8 #E8645C #9AE85C #5CE0E8
split-complementary
#AA5CE8 #E0E85C #5CE864
monochromatic
#6D19B1 #8E26E0 #AA5CE8 #C692F0 #E2C7F7

Accessibility & contrast

On white

3.89
#AA5CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#AA5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CE8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CE8#FFFFFF#000000##000000
##AA5CE81.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#177EEC
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#A0789A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5ce8;
/* rgb */ color: rgb(170, 92, 232);
/* oklch */ color: oklch(62.8% 0.208 307.1);
Tailwind
colors: {
  custom: {
    50: '#c78ef0',
    500: '#aa5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ce8;
$custom-light: #c78ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ce8",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 273.429,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62812,
    "c": 0.20788,
    "h": 307.1
  },
  "luminance": 0.22027
}

Semantic roles & 50–950 ramp

primary
#AA5CE8
secondary
#CDE9B7
accent
#D70E67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #AA5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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