#AA8EFC#AA8EFC

#AA8EFC is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.8% C 0.157 H 293.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#AA8EFC
RGBrgb(170, 142, 252)
HSLhsl(255, 95%, 77%)
HSVhsv(255, 44%, 99%)
CMYKcmyk(32.5%, 43.7%, 0%, 1.2%)
CIE-LABlab(65.69, 34.16, -51.28)
CIE-LCHlch(65.69, 61.61, 303.67°)
OKLaboklab(71.79% 0.0635 -0.1441)
OKLCHoklch(71.79% 0.157 293.8)
XYZxyz(43.8168, 34.9195, 96.5082)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EFC #E0FC8E
analogous
#8EA9FC #AA8EFC #E18EFC
triadic
#AA8EFC #FCAA8E #8EFCAA
tetradic
#AA8EFC #FC8EA9 #E0FC8E #8EFCE1
square
#AA8EFC #FC8EA9 #E0FC8E #8EFCE1
split-complementary
#AA8EFC #FCE18E #A9FC8E
monochromatic
#5017F9 #7D52FA #AA8EFC #D7CAFE #E9E1FE

Accessibility & contrast

On white

2.63
#AA8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#AA8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EFC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EFC#FFFFFF#000000##000000
##AA8EFC1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#97A3B9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa8efc;
/* rgb */ color: rgb(170, 142, 252);
/* oklch */ color: oklch(71.8% 0.157 293.8);
Tailwind
colors: {
  custom: {
    50: '#c6affe',
    500: '#aa8efc',
    950: '#000000',
  },
}
SCSS
$custom: #aa8efc;
$custom-light: #c6affe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8efc",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 255.273,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71789,
    "c": 0.15748,
    "h": 293.8
  },
  "luminance": 0.3492
}

Semantic roles & 50–950 ramp

primary
#AA8EFC
secondary
#EEF6D5
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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