#AA7BEE#AA7BEE

#AA7BEE is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.8% C 0.169 H 300.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AA7BEE
RGBrgb(170, 123, 238)
HSLhsl(265, 77%, 71%)
HSVhsv(265, 48%, 93%)
CMYKcmyk(28.6%, 48.3%, 0%, 6.7%)
CIE-LABlab(60.68, 41.31, -51.51)
CIE-LCHlch(60.68, 66.03, 308.73°)
OKLaboklab(67.8% 0.0866 -0.1448)
OKLCHoklch(67.8% 0.169 300.9)
XYZxyz(39.0896, 28.8849, 84.3883)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BEE #BFEE7B
analogous
#7B85EE #AA7BEE #E47BEE
triadic
#AA7BEE #EEAA7B #7BEEAA
tetradic
#AA7BEE #EE7B85 #BFEE7B #7BEEE4
square
#AA7BEE #EE7B85 #BFEE7B #7BEEE4
split-complementary
#AA7BEE #EEE47B #85EE7B
monochromatic
#661BD3 #8745E7 #AA7BEE #CDB1F5 #EEE4FC

Accessibility & contrast

On white

3.10
#AA7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AA7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BEE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BEE#FFFFFF#000000##000000
##AA7BEE1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#6292EB
Tritanopia (blue-blind)
#9D90A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7bee;
/* rgb */ color: rgb(170, 123, 238);
/* oklch */ color: oklch(67.8% 0.169 300.9);
Tailwind
colors: {
  custom: {
    50: '#c6a2f4',
    500: '#aa7bee',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bee;
$custom-light: #c6a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bee",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 264.522,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67801,
    "c": 0.16866,
    "h": 300.9
  },
  "luminance": 0.28885
}

Semantic roles & 50–950 ramp

primary
#AA7BEE
secondary
#E5F2D3
accent
#D90C85
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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