#AA7EFD#AA7EFD

#AA7EFD is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.1% C 0.183 H 297.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AA7EFD
RGBrgb(170, 126, 253)
HSLhsl(261, 97%, 74%)
HSVhsv(261, 50%, 99%)
CMYKcmyk(32.8%, 50.2%, 0%, 0.8%)
CIE-LABlab(62.13, 43.34, -57.47)
CIE-LCHlch(62.13, 71.98, 307.02°)
OKLaboklab(69.14% 0.0841 -0.1622)
OKLCHoklch(69.14% 0.183 297.4)
XYZxyz(41.7637, 30.5591, 96.6076)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EFD #D1FD7E
analogous
#7E92FD #AA7EFD #E97EFD
triadic
#AA7EFD #FDAA7E #7EFDAA
tetradic
#AA7EFD #FD7E92 #D1FD7E #7EFDE9
square
#AA7EFD #FD7E92 #D1FD7E #7EFDE9
split-complementary
#AA7EFD #FDE97E #92FD7E
monochromatic
#5B05FB #8242FC #AA7EFD #D2BAFE #EBE1FF

Accessibility & contrast

On white

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

On black

7.11
#AA7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7EFD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EFD#FFFFFF#000000##000000
##AA7EFD1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#5A95FA
Tritanopia (blue-blind)
#9897B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7efd;
/* rgb */ color: rgb(170, 126, 253);
/* oklch */ color: oklch(69.1% 0.183 297.4);
Tailwind
colors: {
  custom: {
    50: '#c7a4ff',
    500: '#aa7efd',
    950: '#000000',
  },
}
SCSS
$custom: #aa7efd;
$custom-light: #c7a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7efd",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 260.787,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69143,
    "c": 0.18269,
    "h": 297.4
  },
  "luminance": 0.3056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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