#AA8CF6#AA8CF6

#AA8CF6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.1% C 0.153 H 295.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#AA8CF6
RGBrgb(170, 140, 246)
HSLhsl(257, 85%, 76%)
HSVhsv(257, 43%, 96%)
CMYKcmyk(30.9%, 43.1%, 0%, 3.5%)
CIE-LABlab(64.93, 33.78, -49.19)
CIE-LCHlch(64.93, 59.67, 304.48°)
OKLaboklab(71.12% 0.0652 -0.138)
OKLCHoklch(71.12% 0.153 295.3)
XYZxyz(42.5861, 33.9554, 91.4813)
Luminance0.3396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8CF6 #D8F68C
analogous
#8CA3F6 #AA8CF6 #DF8CF6
triadic
#AA8CF6 #F6AA8C #8CF6AA
tetradic
#AA8CF6 #F68CA3 #D8F68C #8CF6DF
square
#AA8CF6 #F68CA3 #D8F68C #8CF6DF
split-complementary
#AA8CF6 #F6DF8C #A3F68C
monochromatic
#561AED #8053F2 #AA8CF6 #D4C5FA #EAE3FD

Accessibility & contrast

On white

2.70
#AA8CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#AA8CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8CF6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8CF6#FFFFFF#000000##000000
##AA8CF61.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFA
Deuteranopia (green-blind)
#709CF3
Tritanopia (blue-blind)
#999FB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8cf6;
/* rgb */ color: rgb(170, 140, 246);
/* oklch */ color: oklch(71.1% 0.153 295.3);
Tailwind
colors: {
  custom: {
    50: '#c6aef9',
    500: '#aa8cf6',
    950: '#000000',
  },
}
SCSS
$custom: #aa8cf6;
$custom-light: #c6aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8cf6",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 256.981,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7112,
    "c": 0.15265,
    "h": 295.3
  },
  "luminance": 0.33956
}

Semantic roles & 50–950 ramp

primary
#AA8CF6
secondary
#ECF5D6
accent
#E204A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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