#AA8EF0#AA8EF0

#AA8EF0 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.142 H 295.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#AA8EF0
RGBrgb(170, 142, 240)
HSLhsl(257, 77%, 75%)
HSVhsv(257, 41%, 94%)
CMYKcmyk(29.2%, 40.8%, 0%, 5.9%)
CIE-LABlab(65.11, 31.16, -45.61)
CIE-LCHlch(65.11, 55.24, 304.34°)
OKLaboklab(71.16% 0.0615 -0.1276)
OKLCHoklch(71.16% 0.142 295.7)
XYZxyz(41.9749, 34.1828, 86.8077)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EF0 #D4F08E
analogous
#8EA3F0 #AA8EF0 #DB8EF0
triadic
#AA8EF0 #F0AA8E #8EF0AA
tetradic
#AA8EF0 #F08EA3 #D4F08E #8EF0DB
square
#AA8EF0 #F08EA3 #D4F08E #8EF0DB
split-complementary
#AA8EF0 #F0DB8E #A3F08E
monochromatic
#5922E2 #8158E9 #AA8EF0 #D3C4F7 #EBE4FB

Accessibility & contrast

On white

2.68
#AA8EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#AA8EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EF0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EF0#FFFFFF#000000##000000
##AA8EF01.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF4
Deuteranopia (green-blind)
#769DEE
Tritanopia (blue-blind)
#9B9FB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8ef0;
/* rgb */ color: rgb(170, 142, 240);
/* oklch */ color: oklch(71.2% 0.142 295.7);
Tailwind
colors: {
  custom: {
    50: '#c5aff5',
    500: '#aa8ef0',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ef0;
$custom-light: #c5aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ef0",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 257.143,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71162,
    "c": 0.14168,
    "h": 295.7
  },
  "luminance": 0.34183
}

Semantic roles & 50–950 ramp

primary
#AA8EF0
secondary
#EBF3D8
accent
#D90D9E
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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