#AA8FEF#AA8FEF

#AA8FEF is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.3% C 0.139 H 295.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#AA8FEF
RGBrgb(170, 143, 239)
HSLhsl(257, 75%, 75%)
HSVhsv(257, 40%, 94%)
CMYKcmyk(28.9%, 40.2%, 0%, 6.3%)
CIE-LABlab(65.30, 30.35, -44.76)
CIE-LCHlch(65.30, 54.08, 304.14°)
OKLaboklab(71.29% 0.06 -0.1252)
OKLCHoklch(71.29% 0.139 295.6)
XYZxyz(41.9762, 34.4224, 86.0773)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FEF #D4EF8F
analogous
#8FA4EF #AA8FEF #DA8FEF
triadic
#AA8FEF #EFAA8F #8FEFAA
tetradic
#AA8FEF #EF8FA4 #D4EF8F #8FEFDA
square
#AA8FEF #EF8FA4 #D4EF8F #8FEFDA
split-complementary
#AA8FEF #EFDA8F #A4EF8F
monochromatic
#5924E0 #8159E7 #AA8FEF #D3C5F7 #EBE4FB

Accessibility & contrast

On white

2.66
#AA8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#AA8FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FEF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FEF#FFFFFF#000000##000000
##AA8FEF1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF3
Deuteranopia (green-blind)
#789DED
Tritanopia (blue-blind)
#9BA0B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8fef;
/* rgb */ color: rgb(170, 143, 239);
/* oklch */ color: oklch(71.3% 0.139 295.6);
Tailwind
colors: {
  custom: {
    50: '#c5b0f4',
    500: '#aa8fef',
    950: '#000000',
  },
}
SCSS
$custom: #aa8fef;
$custom-light: #c5b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8fef",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 256.875,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7129,
    "c": 0.13881,
    "h": 295.6
  },
  "luminance": 0.34423
}

Semantic roles & 50–950 ramp

primary
#AA8FEF
secondary
#EBF3D8
accent
#D70E9F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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