#AA7DF1#AA7DF1

#AA7DF1 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.3% C 0.169 H 299.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#AA7DF1
RGBrgb(170, 125, 241)
HSLhsl(263, 81%, 72%)
HSVhsv(263, 48%, 95%)
CMYKcmyk(29.5%, 48.1%, 0%, 5.5%)
CIE-LABlab(61.28, 40.93, -52.22)
CIE-LCHlch(61.28, 66.35, 308.09°)
OKLaboklab(68.3% 0.0842 -0.1468)
OKLCHoklch(68.3% 0.169 299.8)
XYZxyz(39.7846, 29.5639, 86.8124)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7DF1 #C4F17D
analogous
#7D8AF1 #AA7DF1 #E47DF1
triadic
#AA7DF1 #F1AA7D #7DF1AA
tetradic
#AA7DF1 #F17D8A #C4F17D #7DF1E4
square
#AA7DF1 #F17D8A #C4F17D #7DF1E4
split-complementary
#AA7DF1 #F1E47D #8AF17D
monochromatic
#6418DC #8646EB #AA7DF1 #CEB4F7 #EDE3FC

Accessibility & contrast

On white

3.04
#AA7DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#AA7DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7DF1
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7DF1#FFFFFF#000000##000000
##AA7DF11.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F5
Deuteranopia (green-blind)
#6393EE
Tritanopia (blue-blind)
#9C92AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7df1;
/* rgb */ color: rgb(170, 125, 241);
/* oklch */ color: oklch(68.3% 0.169 299.8);
Tailwind
colors: {
  custom: {
    50: '#c6a3f6',
    500: '#aa7df1',
    950: '#000000',
  },
}
SCSS
$custom: #aa7df1;
$custom-light: #c6a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7df1",
  "rgb": {
    "r": 170,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 263.276,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68297,
    "c": 0.1693,
    "h": 299.8
  },
  "luminance": 0.29564
}

Semantic roles & 50–950 ramp

primary
#AA7DF1
secondary
#E8F4D6
accent
#DD098B
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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