#AA8BEC#AA8BEC

#AA8BEC is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.4% C 0.141 H 297.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#AA8BEC
RGBrgb(170, 139, 236)
HSLhsl(259, 72%, 74%)
HSVhsv(259, 41%, 93%)
CMYKcmyk(28%, 41.1%, 0%, 7.5%)
CIE-LABlab(64.22, 31.87, -44.81)
CIE-LCHlch(64.22, 54.99, 305.42°)
OKLaboklab(70.43% 0.0649 -0.1253)
OKLCHoklch(70.43% 0.141 297.4)
XYZxyz(40.9469, 33.0670, 83.5659)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BEC #CDEC8B
analogous
#8B9CEC #AA8BEC #DA8BEC
triadic
#AA8BEC #ECAA8B #8BECAA
tetradic
#AA8BEC #EC8B9C #CDEC8B #8BECDA
square
#AA8BEC #EC8B9C #CDEC8B #8BECDA
split-complementary
#AA8BEC #ECDA8B #9CEC8B
monochromatic
#5E24D9 #8356E3 #AA8BEC #D1C0F5 #ECE5FB

Accessibility & contrast

On white

2.76
#AA8BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#AA8BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8BEC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8BEC#FFFFFF#000000##000000
##AA8BEC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#759BEA
Tritanopia (blue-blind)
#9D9CB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa8bec;
/* rgb */ color: rgb(170, 139, 236);
/* oklch */ color: oklch(70.4% 0.141 297.4);
Tailwind
colors: {
  custom: {
    50: '#c5adf2',
    500: '#aa8bec',
    950: '#000000',
  },
}
SCSS
$custom: #aa8bec;
$custom-light: #c5adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8bec",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 259.175,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70426,
    "c": 0.14111,
    "h": 297.4
  },
  "luminance": 0.33067
}

Semantic roles & 50–950 ramp

primary
#AA8BEC
secondary
#EAF2D9
accent
#D41296
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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