#AA5CF8#AA5CF8

#AA5CF8 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.8% C 0.225 H 303.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AA5CF8
RGBrgb(170, 92, 248)
HSLhsl(270, 92%, 67%)
HSVhsv(270, 63%, 97%)
CMYKcmyk(31.5%, 62.9%, 0%, 2.7%)
CIE-LABlab(55.05, 59.96, -66.07)
CIE-LCHlch(55.05, 89.22, 312.23°)
OKLaboklab(63.85% 0.1246 -0.1874)
OKLCHoklch(63.85% 0.225 303.6)
XYZxyz(37.3441, 22.9777, 91.2565)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CF8 #AAF85C
analogous
#5C5CF8 #AA5CF8 #F85CF8
triadic
#AA5CF8 #F8AA5C #5CF8AA
tetradic
#AA5CF8 #F85C5C #AAF85C #5CF8F8
square
#AA5CF8 #F85C5C #AAF85C #5CF8F8
split-complementary
#AA5CF8 #F8F85C #5CF85C
monochromatic
#6D09D1 #8B21F5 #AA5CF8 #C997FB #E7D1FD

Accessibility & contrast

On white

3.75
#AA5CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AA5CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CF8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CF8#FFFFFF#000000##000000
##AA5CF81.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FD
Deuteranopia (green-blind)
#2D84F5
Tritanopia (blue-blind)
#9B7DA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5cf8;
/* rgb */ color: rgb(170, 92, 248);
/* oklch */ color: oklch(63.8% 0.225 303.6);
Tailwind
colors: {
  custom: {
    50: '#c88efb',
    500: '#aa5cf8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cf8;
$custom-light: #c88efb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cf8",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 270,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63849,
    "c": 0.22503,
    "h": 303.6
  },
  "luminance": 0.22978
}

Semantic roles & 50–950 ramp

primary
#AA5CF8
secondary
#D8F1BF
accent
#E60073
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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