#AA7DF2#AA7DF2

#AA7DF2 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.171 H 299.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AA7DF2
RGBrgb(170, 125, 242)
HSLhsl(263, 82%, 72%)
HSVhsv(263, 48%, 95%)
CMYKcmyk(29.8%, 48.3%, 0%, 5.1%)
CIE-LABlab(61.33, 41.18, -52.69)
CIE-LCHlch(61.33, 66.87, 308.01°)
OKLaboklab(68.35% 0.0843 -0.1482)
OKLCHoklch(68.35% 0.171 299.6)
XYZxyz(39.9344, 29.6238, 87.6013)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7DF2 #C5F27D
analogous
#7D8BF2 #AA7DF2 #E57DF2
triadic
#AA7DF2 #F2AA7D #7DF2AA
tetradic
#AA7DF2 #F27D8B #C5F27D #7DF2E5
square
#AA7DF2 #F27D8B #C5F27D #7DF2E5
split-complementary
#AA7DF2 #F2E57D #8BF27D
monochromatic
#6316DE #8645EC #AA7DF2 #CEB5F8 #EDE3FC

Accessibility & contrast

On white

3.03
#AA7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AA7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7DF2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7DF2#FFFFFF#000000##000000
##AA7DF21.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#9C93AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7df2;
/* rgb */ color: rgb(170, 125, 242);
/* oklch */ color: oklch(68.4% 0.171 299.6);
Tailwind
colors: {
  custom: {
    50: '#c6a3f7',
    500: '#aa7df2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7df2;
$custom-light: #c6a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7df2",
  "rgb": {
    "r": 170,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 263.077,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68353,
    "c": 0.17054,
    "h": 299.6
  },
  "luminance": 0.29624
}

Semantic roles & 50–950 ramp

primary
#AA7DF2
secondary
#E9F4D7
accent
#DE078C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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