#AA8EFD#AA8EFD

#AA8EFD is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.8% C 0.159 H 293.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AA8EFD
RGBrgb(170, 142, 253)
HSLhsl(255, 97%, 77%)
HSVhsv(255, 44%, 99%)
CMYKcmyk(32.8%, 43.9%, 0%, 0.8%)
CIE-LABlab(65.74, 34.41, -51.75)
CIE-LCHlch(65.74, 62.14, 303.62°)
OKLaboklab(71.84% 0.0636 -0.1455)
OKLCHoklch(71.84% 0.159 293.6)
XYZxyz(43.9757, 34.9831, 97.3450)
Luminance0.3498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EFD #E1FD8E
analogous
#8EAAFD #AA8EFD #E18EFD
triadic
#AA8EFD #FDAA8E #8EFDAA
tetradic
#AA8EFD #FD8EAA #E1FD8E #8EFDE1
square
#AA8EFD #FD8EAA #E1FD8E #8EFDE1
split-complementary
#AA8EFD #FDE18E #AAFD8E
monochromatic
#5016FB #7D52FC #AA8EFD #D7CAFE #E8E1FE

Accessibility & contrast

On white

2.63
#AA8EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AA8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EFD
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EFD#FFFFFF#000000##000000
##AA8EFD1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#6E9EFA
Tritanopia (blue-blind)
#97A3B9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa8efd;
/* rgb */ color: rgb(170, 142, 253);
/* oklch */ color: oklch(71.8% 0.159 293.6);
Tailwind
colors: {
  custom: {
    50: '#c6affe',
    500: '#aa8efd',
    950: '#000000',
  },
}
SCSS
$custom: #aa8efd;
$custom-light: #c6affe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8efd",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 255.135,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71842,
    "c": 0.15878,
    "h": 293.6
  },
  "luminance": 0.34984
}

Semantic roles & 50–950 ramp

primary
#AA8EFD
secondary
#EEF7D4
accent
#E600AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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