#AA8EF2#AA8EF2

#AA8EF2 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.3% C 0.144 H 295.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#AA8EF2
RGBrgb(170, 142, 242)
HSLhsl(257, 79%, 75%)
HSVhsv(257, 41%, 95%)
CMYKcmyk(29.8%, 41.3%, 0%, 5.1%)
CIE-LABlab(65.20, 31.66, -46.56)
CIE-LCHlch(65.20, 56.30, 304.21°)
OKLaboklab(71.27% 0.0619 -0.1304)
OKLCHoklch(71.27% 0.144 295.4)
XYZxyz(42.2736, 34.3023, 88.3810)
Luminance0.3430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EF2 #D6F28E
analogous
#8EA4F2 #AA8EF2 #DC8EF2
triadic
#AA8EF2 #F2AA8E #8EF2AA
tetradic
#AA8EF2 #F28EA4 #D6F28E #8EF2DC
square
#AA8EF2 #F28EA4 #D6F28E #8EF2DC
split-complementary
#AA8EF2 #F2DC8E #A4F28E
monochromatic
#5720E5 #8157EC #AA8EF2 #D3C5F8 #EAE4FC

Accessibility & contrast

On white

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

On black

7.86
#AA8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EF2
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EF2#FFFFFF#000000##000000
##AA8EF21.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#9AA0B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8ef2;
/* rgb */ color: rgb(170, 142, 242);
/* oklch */ color: oklch(71.3% 0.144 295.4);
Tailwind
colors: {
  custom: {
    50: '#c5aff7',
    500: '#aa8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ef2;
$custom-light: #c5aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ef2",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 256.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71265,
    "c": 0.14433,
    "h": 295.4
  },
  "luminance": 0.34303
}

Semantic roles & 50–950 ramp

primary
#AA8EF2
secondary
#ECF4D7
accent
#DC0AA1
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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