#AA7EFE#AA7EFE

#AA7EFE is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.2% C 0.184 H 297.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#AA7EFE
RGBrgb(170, 126, 254)
HSLhsl(261, 98%, 75%)
HSVhsv(261, 50%, 100%)
CMYKcmyk(33.1%, 50.4%, 0%, 0.4%)
CIE-LABlab(62.19, 43.59, -57.93)
CIE-LCHlch(62.19, 72.50, 306.96°)
OKLaboklab(69.2% 0.0841 -0.1636)
OKLCHoklch(69.2% 0.184 297.2)
XYZxyz(41.9234, 30.6230, 97.4488)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EFE #D2FE7E
analogous
#7E92FE #AA7EFE #EA7EFE
triadic
#AA7EFE #FEAA7E #7EFEAA
tetradic
#AA7EFE #FE7E92 #D2FE7E #7EFEEA
square
#AA7EFE #FE7E92 #D2FE7E #7EFEEA
split-complementary
#AA7EFE #FEEA7E #92FE7E
monochromatic
#5A05FD #8241FE #AA7EFE #D2BBFE #EBE1FF

Accessibility & contrast

On white

2.95
#AA7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#AA7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7EFE
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EFE#FFFFFF#000000##000000
##AA7EFE1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#9797B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7efe;
/* rgb */ color: rgb(170, 126, 254);
/* oklch */ color: oklch(69.2% 0.184 297.2);
Tailwind
colors: {
  custom: {
    50: '#c7a4ff',
    500: '#aa7efe',
    950: '#000000',
  },
}
SCSS
$custom: #aa7efe;
$custom-light: #c7a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7efe",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 260.625,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69201,
    "c": 0.18393,
    "h": 297.2
  },
  "luminance": 0.30624
}

Semantic roles & 50–950 ramp

primary
#AA7EFE
secondary
#EBF7D4
accent
#E60097
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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