#AA7EF4#AA7EF4

#AA7EF4 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.172 H 299.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#AA7EF4
RGBrgb(170, 126, 244)
HSLhsl(262, 84%, 73%)
HSVhsv(262, 48%, 96%)
CMYKcmyk(30.3%, 48.4%, 0%, 4.3%)
CIE-LABlab(61.65, 41.11, -53.28)
CIE-LCHlch(61.65, 67.30, 307.66°)
OKLaboklab(68.63% 0.0833 -0.1499)
OKLCHoklch(68.63% 0.172 299)
XYZxyz(40.3637, 29.9991, 89.2343)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EF4 #C8F47E
analogous
#7E8DF4 #AA7EF4 #E57EF4
triadic
#AA7EF4 #F4AA7E #7EF4AA
tetradic
#AA7EF4 #F47E8D #C8F47E #7EF4E5
square
#AA7EF4 #F47E8D #C8F47E #7EF4E5
split-complementary
#AA7EF4 #F4E57E #8DF47E
monochromatic
#6113E4 #8546EF #AA7EF4 #CFB6F9 #ECE3FD

Accessibility & contrast

On white

3.00
#AA7EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#AA7EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7EF4
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EF4#FFFFFF#000000##000000
##AA7EF41.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F8
Deuteranopia (green-blind)
#6294F1
Tritanopia (blue-blind)
#9B94AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7ef4;
/* rgb */ color: rgb(170, 126, 244);
/* oklch */ color: oklch(68.6% 0.172 299.0);
Tailwind
colors: {
  custom: {
    50: '#c6a4f8',
    500: '#aa7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ef4;
$custom-light: #c6a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ef4",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 262.373,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68629,
    "c": 0.17151,
    "h": 299
  },
  "luminance": 0.29999
}

Semantic roles & 50–950 ramp

primary
#AA7EF4
secondary
#E9F5D6
accent
#E1058F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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