#AA7EE4#AA7EE4

#AA7EE4 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.8% C 0.151 H 302.5°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AA7EE4
RGBrgb(170, 126, 228)
HSLhsl(266, 65%, 69%)
HSVhsv(266, 45%, 89%)
CMYKcmyk(25.4%, 44.7%, 0%, 10.6%)
CIE-LABlab(60.84, 37.25, -45.69)
CIE-LCHlch(60.84, 58.95, 309.19°)
OKLaboklab(67.76% 0.0813 -0.1278)
OKLCHoklch(67.76% 0.151 302.5)
XYZxyz(38.0389, 29.0692, 76.9907)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EE4 #B8E47E
analogous
#7E85E4 #AA7EE4 #DD7EE4
triadic
#AA7EE4 #E4AA7E #7EE4AA
tetradic
#AA7EE4 #E47E85 #B8E47E #7EE4DD
square
#AA7EE4 #E47E85 #B8E47E #7EE4DD
split-complementary
#AA7EE4 #E4DD7E #85E47E
monochromatic
#6928C0 #894BD9 #AA7EE4 #CBB1EF #EDE3F9

Accessibility & contrast

On white

3.08
#AA7EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#AA7EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7EE4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EE4#FFFFFF#000000##000000
##AA7EE41.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6292E8
Deuteranopia (green-blind)
#6C93E1
Tritanopia (blue-blind)
#A090A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7ee4;
/* rgb */ color: rgb(170, 126, 228);
/* oklch */ color: oklch(67.8% 0.151 302.5);
Tailwind
colors: {
  custom: {
    50: '#c5a4ed',
    500: '#aa7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ee4;
$custom-light: #c5a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ee4",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 265.882,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67759,
    "c": 0.15148,
    "h": 302.5
  },
  "luminance": 0.29069
}

Semantic roles & 50–950 ramp

primary
#AA7EE4
secondary
#E1EED0
accent
#CD187F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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