#AA5CE9#AA5CE9

#AA5CE9 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.9% C 0.209 H 306.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AA5CE9
RGBrgb(170, 92, 233)
HSLhsl(273, 76%, 64%)
HSVhsv(273, 61%, 91%)
CMYKcmyk(27%, 60.5%, 0%, 8.6%)
CIE-LABlab(54.12, 56.53, -59.20)
CIE-LCHlch(54.12, 81.85, 313.68°)
OKLaboklab(62.88% 0.1253 -0.1672)
OKLCHoklch(62.88% 0.209 306.9)
XYZxyz(35.1096, 22.0839, 79.4880)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CE9 #9BE95C
analogous
#635CE9 #AA5CE9 #E95CE2
triadic
#AA5CE9 #E9AA5C #5CE9AA
tetradic
#AA5CE9 #E9635C #9BE95C #5CE2E9
square
#AA5CE9 #E9635C #9BE95C #5CE2E9
split-complementary
#AA5CE9 #E2E95C #5CE963
monochromatic
#6E18B3 #8E26E2 #AA5CE9 #C692F0 #E2C8F8

Accessibility & contrast

On white

3.88
#AA5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AA5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CE9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CE9#FFFFFF#000000##000000
##AA5CE91.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#147FED
Deuteranopia (green-blind)
#4282E6
Tritanopia (blue-blind)
#A0789A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5ce9;
/* rgb */ color: rgb(170, 92, 233);
/* oklch */ color: oklch(62.9% 0.209 306.9);
Tailwind
colors: {
  custom: {
    50: '#c78ef1',
    500: '#aa5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ce9;
$custom-light: #c78ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ce9",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 273.191,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.20895,
    "h": 306.9
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#AA5CE9
secondary
#CEE9B8
accent
#D80D68
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #AA5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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