#AA8EF7#AA8EF7

#AA8EF7 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.5% C 0.151 H 294.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#AA8EF7
RGBrgb(170, 142, 247)
HSLhsl(256, 87%, 76%)
HSVhsv(256, 43%, 97%)
CMYKcmyk(31.2%, 42.5%, 0%, 3.1%)
CIE-LABlab(65.44, 32.90, -48.93)
CIE-LCHlch(65.44, 58.96, 303.92°)
OKLaboklab(71.52% 0.0627 -0.1373)
OKLCHoklch(71.52% 0.151 294.6)
XYZxyz(43.0349, 34.6068, 92.3901)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EF7 #DBF78E
analogous
#8EA7F7 #AA8EF7 #DF8EF7
triadic
#AA8EF7 #F7AA8E #8EF7AA
tetradic
#AA8EF7 #F78EA7 #DBF78E #8EF7DF
square
#AA8EF7 #F78EA7 #DBF78E #8EF7DF
split-complementary
#AA8EF7 #F7DF8E #A7F78E
monochromatic
#541CEF #7F55F3 #AA8EF7 #D5C7FB #EAE2FD

Accessibility & contrast

On white

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

On black

7.92
#AA8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EF7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EF7#FFFFFF#000000##000000
##AA8EF71.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#99A1B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa8ef7;
/* rgb */ color: rgb(170, 142, 247);
/* oklch */ color: oklch(71.5% 0.151 294.6);
Tailwind
colors: {
  custom: {
    50: '#c6affa',
    500: '#aa8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ef7;
$custom-light: #c6affa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ef7",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 256,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.15092,
    "h": 294.6
  },
  "luminance": 0.34607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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