#AA7FEE#AA7FEE

#AA7FEE is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.5% C 0.162 H 300.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AA7FEE
RGBrgb(170, 127, 238)
HSLhsl(263, 77%, 72%)
HSVhsv(263, 47%, 93%)
CMYKcmyk(28.6%, 46.6%, 0%, 6.7%)
CIE-LABlab(61.57, 39.09, -50.10)
CIE-LCHlch(61.57, 63.55, 307.96°)
OKLaboklab(68.46% 0.0813 -0.1407)
OKLCHoklch(68.46% 0.162 300)
XYZxyz(39.5960, 29.8976, 84.5571)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FEE #C3EE7F
analogous
#7F8CEE #AA7FEE #E27FEE
triadic
#AA7FEE #EEAA7F #7FEEAA
tetradic
#AA7FEE #EE7F8C #C3EE7F #7FEEE2
square
#AA7FEE #EE7F8C #C3EE7F #7FEEE2
split-complementary
#AA7FEE #EEE27F #8CEE7F
monochromatic
#641CD6 #8649E7 #AA7FEE #CEB5F5 #EDE4FB

Accessibility & contrast

On white

3.01
#AA7FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#AA7FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FEE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FEE#FFFFFF#000000##000000
##AA7FEE1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#6794EB
Tritanopia (blue-blind)
#9D93AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7fee;
/* rgb */ color: rgb(170, 127, 238);
/* oklch */ color: oklch(68.5% 0.162 300.0);
Tailwind
colors: {
  custom: {
    50: '#c6a5f4',
    500: '#aa7fee',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fee;
$custom-light: #c6a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fee",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 263.243,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68463,
    "c": 0.16246,
    "h": 300
  },
  "luminance": 0.29898
}

Semantic roles & 50–950 ramp

primary
#AA7FEE
secondary
#E8F3D6
accent
#D90D8A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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