#AA7DFD#AA7DFD

#AA7DFD is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.0% C 0.184 H 297.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#AA7DFD
RGBrgb(170, 125, 253)
HSLhsl(261, 97%, 74%)
HSVhsv(261, 51%, 99%)
CMYKcmyk(32.8%, 50.6%, 0%, 0.8%)
CIE-LABlab(61.92, 43.89, -57.82)
CIE-LCHlch(61.92, 72.59, 307.20°)
OKLaboklab(68.98% 0.0853 -0.1632)
OKLCHoklch(68.98% 0.184 297.6)
XYZxyz(41.6364, 30.3046, 96.5652)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7DFD #D0FD7D
analogous
#7D90FD #AA7DFD #EA7DFD
triadic
#AA7DFD #FDAA7D #7DFDAA
tetradic
#AA7DFD #FD7D90 #D0FD7D #7DFDEA
square
#AA7DFD #FD7D90 #D0FD7D #7DFDEA
split-complementary
#AA7DFD #FDEA7D #90FD7D
monochromatic
#5B04FB #8341FC #AA7DFD #D1B9FE #EBE1FF

Accessibility & contrast

On white

2.97
#AA7DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#AA7DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7DFD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7DFD#FFFFFF#000000##000000
##AA7DFD1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#5994FA
Tritanopia (blue-blind)
#9896B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7dfd;
/* rgb */ color: rgb(170, 125, 253);
/* oklch */ color: oklch(69.0% 0.184 297.6);
Tailwind
colors: {
  custom: {
    50: '#c7a4ff',
    500: '#aa7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #aa7dfd;
$custom-light: #c7a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7dfd",
  "rgb": {
    "r": 170,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 261.094,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68981,
    "c": 0.18417,
    "h": 297.6
  },
  "luminance": 0.30305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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