#AA7BE8#AA7BE8

#AA7BE8 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.161 H 302.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AA7BE8
RGBrgb(170, 123, 232)
HSLhsl(266, 70%, 70%)
HSVhsv(266, 47%, 91%)
CMYKcmyk(26.7%, 47%, 0%, 9%)
CIE-LABlab(60.37, 39.87, -48.66)
CIE-LCHlch(60.37, 62.91, 309.33°)
OKLaboklab(67.47% 0.0859 -0.1365)
OKLCHoklch(67.47% 0.161 302.2)
XYZxyz(38.2228, 28.5381, 79.8230)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BE8 #B9E87B
analogous
#7B82E8 #AA7BE8 #E17BE8
triadic
#AA7BE8 #E8AA7B #7BE8AA
tetradic
#AA7BE8 #E87B82 #B9E87B #7BE8E1
square
#AA7BE8 #E87B82 #B9E87B #7BE8E1
split-complementary
#AA7BE8 #E8E17B #82E87B
monochromatic
#6923C6 #8847DF #AA7BE8 #CCAFF1 #EDE3FA

Accessibility & contrast

On white

3.13
#AA7BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#AA7BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BE8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BE8#FFFFFF#000000##000000
##AA7BE81.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B91EC
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#9F8EA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7be8;
/* rgb */ color: rgb(170, 123, 232);
/* oklch */ color: oklch(67.5% 0.161 302.2);
Tailwind
colors: {
  custom: {
    50: '#c6a2f0',
    500: '#aa7be8',
    950: '#000000',
  },
}
SCSS
$custom: #aa7be8;
$custom-light: #c6a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7be8",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 265.872,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67471,
    "c": 0.16124,
    "h": 302.2
  },
  "luminance": 0.28538
}

Semantic roles & 50–950 ramp

primary
#AA7BE8
secondary
#E2EFD0
accent
#D21380
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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