#AA7EE6#AA7EE6

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

Color values

HEX#AA7EE6
RGBrgb(170, 126, 230)
HSLhsl(265, 68%, 70%)
HSVhsv(265, 45%, 90%)
CMYKcmyk(26.1%, 45.2%, 0%, 9.8%)
CIE-LABlab(60.94, 37.73, -46.65)
CIE-LCHlch(60.94, 59.99, 308.96°)
OKLaboklab(67.86% 0.0816 -0.1306)
OKLCHoklch(67.86% 0.154 302)
XYZxyz(38.3182, 29.1809, 78.4613)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EE6 #BAE67E
analogous
#7E86E6 #AA7EE6 #DE7EE6
triadic
#AA7EE6 #E6AA7E #7EE6AA
tetradic
#AA7EE6 #E67E86 #BAE67E #7EE6DE
square
#AA7EE6 #E67E86 #BAE67E #7EE6DE
split-complementary
#AA7EE6 #E6DE7E #86E67E
monochromatic
#6926C4 #884BDC #AA7EE6 #CCB1F0 #EEE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA7EE6#FFFFFF#000000##000000
##AA7EE61.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)
#6192EA
Deuteranopia (green-blind)
#6B93E3
Tritanopia (blue-blind)
#9F90A7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7ee6;
/* rgb */ color: rgb(170, 126, 230);
/* oklch */ color: oklch(67.9% 0.154 302.0);
Tailwind
colors: {
  custom: {
    50: '#c5a4ee',
    500: '#aa7ee6',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ee6;
$custom-light: #c5a4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ee6",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 265.385,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67864,
    "c": 0.15399,
    "h": 302
  },
  "luminance": 0.29181
}

Semantic roles & 50–950 ramp

primary
#AA7EE6
secondary
#E2EFD1
accent
#CF1681
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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