#AA7EE3#AA7EE3

#AA7EE3 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.7% C 0.150 H 302.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AA7EE3
RGBrgb(170, 126, 227)
HSLhsl(266, 64%, 69%)
HSVhsv(266, 44%, 89%)
CMYKcmyk(25.1%, 44.5%, 0%, 11%)
CIE-LABlab(60.79, 37.01, -45.21)
CIE-LCHlch(60.79, 58.43, 309.31°)
OKLaboklab(67.71% 0.0811 -0.1264)
OKLCHoklch(67.71% 0.15 302.7)
XYZxyz(37.9005, 29.0138, 76.2617)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EE3 #B7E37E
analogous
#7E85E3 #AA7EE3 #DD7EE3
triadic
#AA7EE3 #E3AA7E #7EE3AA
tetradic
#AA7EE3 #E37E85 #B7E37E #7EE3DD
square
#AA7EE3 #E37E85 #B7E37E #7EE3DD
split-complementary
#AA7EE3 #E3DD7E #85E37E
monochromatic
#6A29BD #894CD8 #AA7EE3 #CBB0EE #ECE3F9

Accessibility & contrast

On white

3.09
#AA7EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AA7EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7EE3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EE3#FFFFFF#000000##000000
##AA7EE31.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6392E7
Deuteranopia (green-blind)
#6D92E0
Tritanopia (blue-blind)
#A08FA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7ee3;
/* rgb */ color: rgb(170, 126, 227);
/* oklch */ color: oklch(67.7% 0.150 302.7);
Tailwind
colors: {
  custom: {
    50: '#c5a4ec',
    500: '#aa7ee3',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ee3;
$custom-light: #c5a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ee3",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 266.139,
    "s": 64.331,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67706,
    "c": 0.15023,
    "h": 302.7
  },
  "luminance": 0.29014
}

Semantic roles & 50–950 ramp

primary
#AA7EE3
secondary
#E0EDD0
accent
#CC197E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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