#AA5BF8#AA5BF8

#AA5BF8 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.7% C 0.226 H 303.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AA5BF8
RGBrgb(170, 91, 248)
HSLhsl(270, 92%, 66%)
HSVhsv(270, 63%, 97%)
CMYKcmyk(31.5%, 63.3%, 0%, 2.7%)
CIE-LABlab(54.87, 60.45, -66.35)
CIE-LCHlch(54.87, 89.76, 312.33°)
OKLaboklab(63.72% 0.1257 -0.1882)
OKLCHoklch(63.72% 0.226 303.7)
XYZxyz(37.2581, 22.8056, 91.2278)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BF8 #A9F85B
analogous
#5C5BF8 #AA5BF8 #F85BF8
triadic
#AA5BF8 #F8AA5B #5BF8AA
tetradic
#AA5BF8 #F85C5B #A9F85B #5BF8F8
square
#AA5BF8 #F85C5B #A9F85B #5BF8F8
split-complementary
#AA5BF8 #F8F85B #5BF85C
monochromatic
#6D09D0 #8C20F5 #AA5BF8 #C896FB #E7D0FD

Accessibility & contrast

On white

3.78
#AA5BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AA5BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BF8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BF8#FFFFFF#000000##000000
##AA5BF81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa5bf8;
/* rgb */ color: rgb(170, 91, 248);
/* oklch */ color: oklch(63.7% 0.226 303.7);
Tailwind
colors: {
  custom: {
    50: '#c88efb',
    500: '#aa5bf8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bf8;
$custom-light: #c88efb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bf8",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 270.191,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63721,
    "c": 0.22634,
    "h": 303.7
  },
  "luminance": 0.22806
}

Semantic roles & 50–950 ramp

primary
#AA5BF8
secondary
#D7F1BE
accent
#E60072
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D18
muted
#827D86

Preview Lab

Preview with #AA5BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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