#AA8FF2#AA8FF2

#AA8FF2 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.4% C 0.143 H 295.1°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#AA8FF2
RGBrgb(170, 143, 242)
HSLhsl(256, 79%, 75%)
HSVhsv(256, 41%, 95%)
CMYKcmyk(29.8%, 40.9%, 0%, 5.1%)
CIE-LABlab(65.44, 31.09, -46.19)
CIE-LCHlch(65.44, 55.68, 303.94°)
OKLaboklab(71.44% 0.0606 -0.1293)
OKLCHoklch(71.44% 0.143 295.1)
XYZxyz(42.4231, 34.6012, 88.4308)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FF2 #D7F28F
analogous
#8FA5F2 #AA8FF2 #DC8FF2
triadic
#AA8FF2 #F2AA8F #8FF2AA
tetradic
#AA8FF2 #F28FA5 #D7F28F #8FF2DC
square
#AA8FF2 #F28FA5 #D7F28F #8FF2DC
split-complementary
#AA8FF2 #F2DC8F #A5F28F
monochromatic
#5721E5 #8058EC #AA8FF2 #D4C6F8 #EAE4FC

Accessibility & contrast

On white

2.65
#AA8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#AA8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FF2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FF2#FFFFFF#000000##000000
##AA8FF21.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#769DF0
Tritanopia (blue-blind)
#9AA1B5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa8ff2;
/* rgb */ color: rgb(170, 143, 242);
/* oklch */ color: oklch(71.4% 0.143 295.1);
Tailwind
colors: {
  custom: {
    50: '#c5b0f7',
    500: '#aa8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ff2;
$custom-light: #c5b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ff2",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 256.364,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71443,
    "c": 0.14278,
    "h": 295.1
  },
  "luminance": 0.34602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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