#AA8EF8#AA8EF8

#AA8EF8 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.6% C 0.152 H 294.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#AA8EF8
RGBrgb(170, 142, 248)
HSLhsl(256, 88%, 76%)
HSVhsv(256, 43%, 97%)
CMYKcmyk(31.5%, 42.7%, 0%, 2.7%)
CIE-LABlab(65.49, 33.15, -49.40)
CIE-LCHlch(65.49, 59.49, 303.86°)
OKLaboklab(71.58% 0.0629 -0.1386)
OKLCHoklch(71.58% 0.152 294.4)
XYZxyz(43.1896, 34.6687, 93.2050)
Luminance0.3467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EF8 #DCF88E
analogous
#8EA7F8 #AA8EF8 #DF8EF8
triadic
#AA8EF8 #F8AA8E #8EF8AA
tetradic
#AA8EF8 #F88EA7 #DCF88E #8EF8DF
square
#AA8EF8 #F88EA7 #DCF88E #8EF8DF
split-complementary
#AA8EF8 #F8DF8E #A7F88E
monochromatic
#531BF1 #7F54F4 #AA8EF8 #D5C8FC #E9E2FD

Accessibility & contrast

On white

2.65
#AA8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#AA8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EF8
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EF8#FFFFFF#000000##000000
##AA8EF81.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#98A1B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa8ef8;
/* rgb */ color: rgb(170, 142, 248);
/* oklch */ color: oklch(71.6% 0.152 294.4);
Tailwind
colors: {
  custom: {
    50: '#c6affb',
    500: '#aa8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ef8;
$custom-light: #c6affb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ef8",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 255.849,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71577,
    "c": 0.15223,
    "h": 294.4
  },
  "luminance": 0.34669
}

Semantic roles & 50–950 ramp

primary
#AA8EF8
secondary
#EDF5D6
accent
#E501A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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