#AA8FEC#AA8FEC

#AA8FEC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.135 H 296.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AA8FEC
RGBrgb(170, 143, 236)
HSLhsl(257, 71%, 74%)
HSVhsv(257, 39%, 93%)
CMYKcmyk(28%, 39.4%, 0%, 7.5%)
CIE-LABlab(65.16, 29.61, -43.33)
CIE-LCHlch(65.16, 52.48, 304.35°)
OKLaboklab(71.14% 0.0595 -0.121)
OKLCHoklch(71.14% 0.135 296.2)
XYZxyz(41.5367, 34.2466, 83.7625)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FEC #D1EC8F
analogous
#8FA3EC #AA8FEC #D88FEC
triadic
#AA8FEC #ECAA8F #8FECAA
tetradic
#AA8FEC #EC8FA3 #D1EC8F #8FECD8
square
#AA8FEC #EC8FA3 #D1EC8F #8FECD8
split-complementary
#AA8FEC #ECD88F #A3EC8F
monochromatic
#5B26DA #825BE3 #AA8FEC #D2C3F5 #EBE5FB

Accessibility & contrast

On white

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

On black

7.85
#AA8FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FEC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FEC#FFFFFF#000000##000000
##AA8FEC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#9C9FB2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8fec;
/* rgb */ color: rgb(170, 143, 236);
/* oklch */ color: oklch(71.1% 0.135 296.2);
Tailwind
colors: {
  custom: {
    50: '#c5b0f2',
    500: '#aa8fec',
    950: '#000000',
  },
}
SCSS
$custom: #aa8fec;
$custom-light: #c5b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8fec",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 257.419,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7114,
    "c": 0.13483,
    "h": 296.2
  },
  "luminance": 0.34247
}

Semantic roles & 50–950 ramp

primary
#AA8FEC
secondary
#EBF2D9
accent
#D3129B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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