#AA7EDA#AA7EDA

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

Color values

HEX#AA7EDA
RGBrgb(170, 126, 218)
HSLhsl(269, 55%, 67%)
HSVhsv(269, 42%, 85%)
CMYKcmyk(22%, 42.2%, 0%, 14.5%)
CIE-LABlab(60.36, 34.91, -40.86)
CIE-LCHlch(60.36, 53.74, 310.51°)
OKLaboklab(67.24% 0.0797 -0.1138)
OKLCHoklch(67.24% 0.139 305)
XYZxyz(36.6907, 28.5299, 69.8900)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EDA #AEDA7E
analogous
#7E80DA #AA7EDA #D87EDA
triadic
#AA7EDA #DAAA7E #7EDAAA
tetradic
#AA7EDA #DA7E80 #AEDA7E #7EDAD8
square
#AA7EDA #DA7E80 #AEDA7E #7EDAD8
split-complementary
#AA7EDA #DAD87E #80DA7E
monochromatic
#6C31AC #8B4ECC #AA7EDA #C9AEE8 #E9DDF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA7EDA#FFFFFF#000000##000000
##AA7EDA1.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)
#6890DD
Deuteranopia (green-blind)
#7292D8
Tritanopia (blue-blind)
#A28DA2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7eda;
/* rgb */ color: rgb(170, 126, 218);
/* oklch */ color: oklch(67.2% 0.139 305.0);
Tailwind
colors: {
  custom: {
    50: '#c5a4e6',
    500: '#aa7eda',
    950: '#000000',
  },
}
SCSS
$custom: #aa7eda;
$custom-light: #c5a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7eda",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 268.696,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67243,
    "c": 0.13894,
    "h": 305
  },
  "luminance": 0.2853
}

Semantic roles & 50–950 ramp

primary
#AA7EDA
secondary
#DBE8CC
accent
#C32376
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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