#AA7EEB#AA7EEB

#AA7EEB is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.1% C 0.160 H 300.9°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AA7EEB
RGBrgb(170, 126, 235)
HSLhsl(264, 73%, 71%)
HSVhsv(264, 46%, 92%)
CMYKcmyk(27.7%, 46.4%, 0%, 7.8%)
CIE-LABlab(61.19, 38.92, -49.03)
CIE-LCHlch(61.19, 62.60, 308.44°)
OKLaboklab(68.13% 0.0822 -0.1375)
OKLCHoklch(68.13% 0.16 300.9)
XYZxyz(39.0304, 29.4658, 82.2124)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EEB #BFEB7E
analogous
#7E88EB #AA7EEB #E07EEB
triadic
#AA7EEB #EBAA7E #7EEBAA
tetradic
#AA7EEB #EB7E88 #BFEB7E #7EEBE0
square
#AA7EEB #EB7E88 #BFEB7E #7EEBE0
split-complementary
#AA7EEB #EBE07E #88EB7E
monochromatic
#6620CF #8749E3 #AA7EEB #CDB3F3 #EEE5FB

Accessibility & contrast

On white

3.05
#AA7EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AA7EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7EEB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EEB#FFFFFF#000000##000000
##AA7EEB1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#9E92A9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7eeb;
/* rgb */ color: rgb(170, 126, 235);
/* oklch */ color: oklch(68.1% 0.160 300.9);
Tailwind
colors: {
  custom: {
    50: '#c6a4f2',
    500: '#aa7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7eeb;
$custom-light: #c6a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7eeb",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 264.22,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68133,
    "c": 0.16026,
    "h": 300.9
  },
  "luminance": 0.29466
}

Semantic roles & 50–950 ramp

primary
#AA7EEB
secondary
#E5F1D4
accent
#D51086
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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