#AA7EEF#AA7EEF

#AA7EEF is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.165 H 300.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AA7EEF
RGBrgb(170, 126, 239)
HSLhsl(263, 78%, 72%)
HSVhsv(263, 47%, 94%)
CMYKcmyk(28.9%, 47.3%, 0%, 6.3%)
CIE-LABlab(61.39, 39.89, -50.93)
CIE-LCHlch(61.39, 64.69, 308.07°)
OKLaboklab(68.35% 0.0827 -0.1431)
OKLCHoklch(68.35% 0.165 300)
XYZxyz(39.6148, 29.6995, 85.2901)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EEF #C3EF7E
analogous
#7E8BEF #AA7EEF #E37EEF
triadic
#AA7EEF #EFAA7E #7EEFAA
tetradic
#AA7EEF #EF7E8B #C3EF7E #7EEFE3
square
#AA7EEF #EF7E8B #C3EF7E #7EEFE3
split-complementary
#AA7EEF #EFE37E #8BEF7E
monochromatic
#641BD8 #8648E8 #AA7EEF #CEB4F6 #EDE4FC

Accessibility & contrast

On white

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

On black

6.94
#AA7EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7EEF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EEF#FFFFFF#000000##000000
##AA7EEF1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F3
Deuteranopia (green-blind)
#6593EC
Tritanopia (blue-blind)
#9C93AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7eef;
/* rgb */ color: rgb(170, 126, 239);
/* oklch */ color: oklch(68.4% 0.165 300.0);
Tailwind
colors: {
  custom: {
    50: '#c6a4f5',
    500: '#aa7eef',
    950: '#000000',
  },
}
SCSS
$custom: #aa7eef;
$custom-light: #c6a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7eef",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 263.363,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68351,
    "c": 0.16527,
    "h": 300
  },
  "luminance": 0.297
}

Semantic roles & 50–950 ramp

primary
#AA7EEF
secondary
#E8F3D6
accent
#DA0B8A
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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