#AA7FED#AA7FED

#AA7FED is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.4% C 0.161 H 300.2°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#AA7FED
RGBrgb(170, 127, 237)
HSLhsl(263, 75%, 71%)
HSVhsv(263, 46%, 93%)
CMYKcmyk(28.3%, 46.4%, 0%, 7.1%)
CIE-LABlab(61.52, 38.85, -49.63)
CIE-LCHlch(61.52, 63.03, 308.06°)
OKLaboklab(68.41% 0.0812 -0.1393)
OKLCHoklch(68.41% 0.161 300.2)
XYZxyz(39.4495, 29.8390, 83.7855)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FED #C2ED7F
analogous
#7F8BED #AA7FED #E17FED
triadic
#AA7FED #EDAA7F #7FEDAA
tetradic
#AA7FED #ED7F8B #C2ED7F #7FEDE1
square
#AA7FED #ED7F8B #C2ED7F #7FEDE1
split-complementary
#AA7FED #EDE17F #8BED7F
monochromatic
#651ED4 #8649E5 #AA7FED #CEB5F5 #EDE4FB

Accessibility & contrast

On white

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

On black

6.97
#AA7FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FED
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FED#FFFFFF#000000##000000
##AA7FED1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#6894EA
Tritanopia (blue-blind)
#9D93AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7fed;
/* rgb */ color: rgb(170, 127, 237);
/* oklch */ color: oklch(68.4% 0.161 300.2);
Tailwind
colors: {
  custom: {
    50: '#c6a5f3',
    500: '#aa7fed',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fed;
$custom-light: #c6a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fed",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 263.455,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68409,
    "c": 0.1612,
    "h": 300.2
  },
  "luminance": 0.29839
}

Semantic roles & 50–950 ramp

primary
#AA7FED
secondary
#E7F2D6
accent
#D80E89
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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