#AA7EE7#AA7EE7

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

Color values

HEX#AA7EE7
RGBrgb(170, 126, 231)
HSLhsl(265, 69%, 70%)
HSVhsv(265, 45%, 91%)
CMYKcmyk(26.4%, 45.5%, 0%, 9.4%)
CIE-LABlab(60.99, 37.96, -47.13)
CIE-LCHlch(60.99, 60.52, 308.85°)
OKLaboklab(67.92% 0.0817 -0.132)
OKLCHoklch(67.92% 0.155 301.8)
XYZxyz(38.4590, 29.2372, 79.2030)
Luminance0.2924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EE7 #BBE77E
analogous
#7E87E7 #AA7EE7 #DE7EE7
triadic
#AA7EE7 #E7AA7E #7EE7AA
tetradic
#AA7EE7 #E77E87 #BBE77E #7EE7DE
square
#AA7EE7 #E77E87 #BBE77E #7EE7DE
split-complementary
#AA7EE7 #E7DE7E #87E77E
monochromatic
#6825C6 #884ADD #AA7EE7 #CCB2F1 #EEE5FA

Accessibility & contrast

On white

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

On black

6.85
#AA7EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7EE7
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EE7#FFFFFF#000000##000000
##AA7EE71.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6092EB
Deuteranopia (green-blind)
#6A93E4
Tritanopia (blue-blind)
#9F90A7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7ee7;
/* rgb */ color: rgb(170, 126, 231);
/* oklch */ color: oklch(67.9% 0.155 301.8);
Tailwind
colors: {
  custom: {
    50: '#c5a4ef',
    500: '#aa7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ee7;
$custom-light: #c5a4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ee7",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 265.143,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.67918,
    "c": 0.15525,
    "h": 301.8
  },
  "luminance": 0.29237
}

Semantic roles & 50–950 ramp

primary
#AA7EE7
secondary
#E3EFD2
accent
#D11582
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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