#AA8BEB#AA8BEB

#AA8BEB is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.140 H 297.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AA8BEB
RGBrgb(170, 139, 235)
HSLhsl(259, 71%, 73%)
HSVhsv(259, 41%, 92%)
CMYKcmyk(27.7%, 40.9%, 0%, 7.8%)
CIE-LABlab(64.17, 31.63, -44.33)
CIE-LCHlch(64.17, 54.46, 305.51°)
OKLaboklab(70.38% 0.0647 -0.1239)
OKLCHoklch(70.38% 0.14 297.6)
XYZxyz(40.8020, 33.0091, 82.8029)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BEB #CCEB8B
analogous
#8B9CEB #AA8BEB #DA8BEB
triadic
#AA8BEB #EBAA8B #8BEBAA
tetradic
#AA8BEB #EB8B9C #CCEB8B #8BEBDA
square
#AA8BEB #EB8B9C #CCEB8B #8BEBDA
split-complementary
#AA8BEB #EBDA8B #9CEB8B
monochromatic
#5E25D7 #8457E2 #AA8BEB #D0BFF4 #ECE5FA

Accessibility & contrast

On white

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

On black

7.60
#AA8BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8BEB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8BEB#FFFFFF#000000##000000
##AA8BEB1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#9D9CB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa8beb;
/* rgb */ color: rgb(170, 139, 235);
/* oklch */ color: oklch(70.4% 0.140 297.6);
Tailwind
colors: {
  custom: {
    50: '#c5adf2',
    500: '#aa8beb',
    950: '#000000',
  },
}
SCSS
$custom: #aa8beb;
$custom-light: #c5adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8beb",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 235
  },
  "hsl": {
    "h": 259.375,
    "s": 70.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70375,
    "c": 0.13979,
    "h": 297.6
  },
  "luminance": 0.33009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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