#AA7DEB#AA7DEB

#AA7DEB is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.162 H 301.1°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AA7DEB
RGBrgb(170, 125, 235)
HSLhsl(265, 73%, 71%)
HSVhsv(265, 47%, 92%)
CMYKcmyk(27.7%, 46.8%, 0%, 7.8%)
CIE-LABlab(60.97, 39.48, -49.38)
CIE-LCHlch(60.97, 63.23, 308.64°)
OKLaboklab(67.97% 0.0836 -0.1386)
OKLCHoklch(67.97% 0.162 301.1)
XYZxyz(38.9032, 29.2113, 82.1700)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7DEB #BEEB7D
analogous
#7D87EB #AA7DEB #E17DEB
triadic
#AA7DEB #EBAA7D #7DEBAA
tetradic
#AA7DEB #EB7D87 #BEEB7D #7DEBE1
square
#AA7DEB #EB7D87 #BEEB7D #7DEBE1
split-complementary
#AA7DEB #EBE17D #87EB7D
monochromatic
#6720CE #8748E3 #AA7DEB #CDB2F3 #EEE4FB

Accessibility & contrast

On white

3.07
#AA7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#AA7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7DEB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7DEB#FFFFFF#000000##000000
##AA7DEB1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#6793E8
Tritanopia (blue-blind)
#9E91A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7deb;
/* rgb */ color: rgb(170, 125, 235);
/* oklch */ color: oklch(68.0% 0.162 301.1);
Tailwind
colors: {
  custom: {
    50: '#c6a3f2',
    500: '#aa7deb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7deb;
$custom-light: #c6a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7deb",
  "rgb": {
    "r": 170,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 264.545,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67966,
    "c": 0.16182,
    "h": 301.1
  },
  "luminance": 0.29211
}

Semantic roles & 50–950 ramp

primary
#AA7DEB
secondary
#E5F1D3
accent
#D51085
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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