#AA7DF5#AA7DF5

#AA7DF5 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.174 H 299.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AA7DF5
RGBrgb(170, 125, 245)
HSLhsl(263, 86%, 73%)
HSVhsv(263, 49%, 96%)
CMYKcmyk(30.6%, 49%, 0%, 3.9%)
CIE-LABlab(61.49, 41.91, -54.10)
CIE-LCHlch(61.49, 68.43, 307.77°)
OKLaboklab(68.52% 0.0846 -0.1523)
OKLCHoklch(68.52% 0.174 299.1)
XYZxyz(40.3887, 29.8055, 89.9937)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7DF5 #C8F57D
analogous
#7D8CF5 #AA7DF5 #E67DF5
triadic
#AA7DF5 #F5AA7D #7DF5AA
tetradic
#AA7DF5 #F57D8C #C8F57D #7DF5E6
square
#AA7DF5 #F57D8C #C8F57D #7DF5E6
split-complementary
#AA7DF5 #F5E67D #8CF57D
monochromatic
#6112E6 #8544F1 #AA7DF5 #CFB6F9 #ECE3FD

Accessibility & contrast

On white

3.02
#AA7DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AA7DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7DF5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7DF5#FFFFFF#000000##000000
##AA7DF51.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5594F9
Deuteranopia (green-blind)
#6093F2
Tritanopia (blue-blind)
#9B94AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7df5;
/* rgb */ color: rgb(170, 125, 245);
/* oklch */ color: oklch(68.5% 0.174 299.1);
Tailwind
colors: {
  custom: {
    50: '#c6a3f9',
    500: '#aa7df5',
    950: '#000000',
  },
}
SCSS
$custom: #aa7df5;
$custom-light: #c6a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7df5",
  "rgb": {
    "r": 170,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 262.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68522,
    "c": 0.17427,
    "h": 299.1
  },
  "luminance": 0.29806
}

Semantic roles & 50–950 ramp

primary
#AA7DF5
secondary
#E9F5D6
accent
#E2038F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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