#AA8FEE#AA8FEE

#AA8FEE is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.2% C 0.137 H 295.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AA8FEE
RGBrgb(170, 143, 238)
HSLhsl(257, 74%, 75%)
HSVhsv(257, 40%, 93%)
CMYKcmyk(28.6%, 39.9%, 0%, 6.7%)
CIE-LABlab(65.25, 30.10, -44.29)
CIE-LCHlch(65.25, 53.55, 304.21°)
OKLaboklab(71.24% 0.0598 -0.1238)
OKLCHoklch(71.24% 0.137 295.8)
XYZxyz(41.8289, 34.3635, 85.3014)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FEE #D3EE8F
analogous
#8FA3EE #AA8FEE #DA8FEE
triadic
#AA8FEE #EEAA8F #8FEEAA
tetradic
#AA8FEE #EE8FA3 #D3EE8F #8FEEDA
square
#AA8FEE #EE8FA3 #D3EE8F #8FEEDA
split-complementary
#AA8FEE #EEDA8F #A3EE8F
monochromatic
#5925DE #825AE6 #AA8FEE #D2C4F6 #EBE4FB

Accessibility & contrast

On white

2.67
#AA8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#AA8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FEE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FEE#FFFFFF#000000##000000
##AA8FEE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF2
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#9CA0B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8fee;
/* rgb */ color: rgb(170, 143, 238);
/* oklch */ color: oklch(71.2% 0.137 295.8);
Tailwind
colors: {
  custom: {
    50: '#c5b0f4',
    500: '#aa8fee',
    950: '#000000',
  },
}
SCSS
$custom: #aa8fee;
$custom-light: #c5b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8fee",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 257.053,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7124,
    "c": 0.13748,
    "h": 295.8
  },
  "luminance": 0.34364
}

Semantic roles & 50–950 ramp

primary
#AA8FEE
secondary
#EBF3D8
accent
#D6109D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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