#AA8FE4#AA8FE4

#AA8FE4 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.7% C 0.124 H 297.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#AA8FE4
RGBrgb(170, 143, 228)
HSLhsl(259, 61%, 73%)
HSVhsv(259, 37%, 89%)
CMYKcmyk(25.4%, 37.3%, 0%, 10.6%)
CIE-LABlab(64.80, 27.68, -39.48)
CIE-LCHlch(64.80, 48.21, 305.03°)
OKLaboklab(70.75% 0.0579 -0.1099)
OKLCHoklch(70.75% 0.124 297.8)
XYZxyz(40.4004, 33.7921, 77.7778)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FE4 #C9E48F
analogous
#8F9EE4 #AA8FE4 #D58FE4
triadic
#AA8FE4 #E4AA8F #8FE4AA
tetradic
#AA8FE4 #E48F9E #C9E48F #8FE4D5
square
#AA8FE4 #E48F9E #C9E48F #8FE4D5
split-complementary
#AA8FE4 #E4D58F #9EE48F
monochromatic
#6130C8 #855ED8 #AA8FE4 #CFC0F0 #ECE6F9

Accessibility & contrast

On white

2.71
#AA8FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#AA8FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FE4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FE4#FFFFFF#000000##000000
##AA8FE41.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE7
Deuteranopia (green-blind)
#7E9CE2
Tritanopia (blue-blind)
#9F9DAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8fe4;
/* rgb */ color: rgb(170, 143, 228);
/* oklch */ color: oklch(70.7% 0.124 297.8);
Tailwind
colors: {
  custom: {
    50: '#c5b0ed',
    500: '#aa8fe4',
    950: '#000000',
  },
}
SCSS
$custom: #aa8fe4;
$custom-light: #c5b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8fe4",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 259.059,
    "s": 61.151,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70748,
    "c": 0.12417,
    "h": 297.8
  },
  "luminance": 0.33792
}

Semantic roles & 50–950 ramp

primary
#AA8FE4
secondary
#E9F0DB
accent
#C91D92
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA8FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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