#AA8CEF#AA8CEF

#AA8CEF is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.8% C 0.143 H 296.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#AA8CEF
RGBrgb(170, 140, 239)
HSLhsl(258, 76%, 74%)
HSVhsv(258, 41%, 94%)
CMYKcmyk(28.9%, 41.4%, 0%, 6.3%)
CIE-LABlab(64.59, 32.04, -45.87)
CIE-LCHlch(64.59, 55.96, 304.94°)
OKLaboklab(70.76% 0.0641 -0.1284)
OKLCHoklch(70.76% 0.143 296.5)
XYZxyz(41.5319, 33.5337, 85.9292)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8CEF #D1EF8C
analogous
#8CA0EF #AA8CEF #DC8CEF
triadic
#AA8CEF #EFAA8C #8CEFAA
tetradic
#AA8CEF #EF8CA0 #D1EF8C #8CEFDC
square
#AA8CEF #EF8CA0 #D1EF8C #8CEFDC
split-complementary
#AA8CEF #EFDC8C #A0EF8C
monochromatic
#5B21E0 #8256E8 #AA8CEF #D2C2F6 #EBE4FB

Accessibility & contrast

On white

2.72
#AA8CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#AA8CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8CEF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8CEF#FFFFFF#000000##000000
##AA8CEF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#759BEC
Tritanopia (blue-blind)
#9C9EB2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8cef;
/* rgb */ color: rgb(170, 140, 239);
/* oklch */ color: oklch(70.8% 0.143 296.5);
Tailwind
colors: {
  custom: {
    50: '#c5aef4',
    500: '#aa8cef',
    950: '#000000',
  },
}
SCSS
$custom: #aa8cef;
$custom-light: #c5aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8cef",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 258.182,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70756,
    "c": 0.14348,
    "h": 296.5
  },
  "luminance": 0.33534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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