#AA7EF3#AA7EF3

#AA7EF3 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.6% C 0.170 H 299.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AA7EF3
RGBrgb(170, 126, 243)
HSLhsl(263, 83%, 72%)
HSVhsv(263, 48%, 95%)
CMYKcmyk(30%, 48.1%, 0%, 4.7%)
CIE-LABlab(61.60, 40.87, -52.81)
CIE-LCHlch(61.60, 66.78, 307.74°)
OKLaboklab(68.57% 0.0832 -0.1486)
OKLCHoklch(68.57% 0.17 299.2)
XYZxyz(40.2122, 29.9385, 88.4368)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EF3 #C7F37E
analogous
#7E8DF3 #AA7EF3 #E57EF3
triadic
#AA7EF3 #F3AA7E #7EF3AA
tetradic
#AA7EF3 #F37E8D #C7F37E #7EF3E5
square
#AA7EF3 #F37E8D #C7F37E #7EF3E5
split-complementary
#AA7EF3 #F3E57E #8DF37E
monochromatic
#6215E2 #8546EE #AA7EF3 #CFB6F8 #EDE3FC

Accessibility & contrast

On white

3.01
#AA7EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AA7EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7EF3
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EF3#FFFFFF#000000##000000
##AA7EF31.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F7
Deuteranopia (green-blind)
#6294F0
Tritanopia (blue-blind)
#9B94AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7ef3;
/* rgb */ color: rgb(170, 126, 243);
/* oklch */ color: oklch(68.6% 0.170 299.2);
Tailwind
colors: {
  custom: {
    50: '#c6a4f7',
    500: '#aa7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ef3;
$custom-light: #c6a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ef3",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 262.564,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68573,
    "c": 0.17026,
    "h": 299.2
  },
  "luminance": 0.29939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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