#AA99F7#AA99F7

#AA99F7 is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.5% C 0.134 H 291.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AA99F7
RGBrgb(170, 153, 247)
HSLhsl(251, 85%, 78%)
HSVhsv(251, 38%, 97%)
CMYKcmyk(31.2%, 38.1%, 0%, 3.1%)
CIE-LABlab(68.05, 26.69, -44.82)
CIE-LCHlch(68.05, 52.16, 300.77°)
OKLaboklab(73.51% 0.0482 -0.1253)
OKLCHoklch(73.51% 0.134 291)
XYZxyz(44.7530, 38.0430, 92.9628)
Luminance0.3804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA99F7 #E6F799
analogous
#99B7F7 #AA99F7 #D999F7
triadic
#AA99F7 #F7AA99 #99F7AA
tetradic
#AA99F7 #F799B7 #E6F799 #99F7D9
square
#AA99F7 #F799B7 #E6F799 #99F7D9
split-complementary
#AA99F7 #F7D999 #B7F799
monochromatic
#4B27EE #7B60F3 #AA99F7 #D9D2FB #E7E3FD

Accessibility & contrast

On white

2.44
#AA99F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#AA99F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA99F7
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA99F7#FFFFFF#000000##000000
##AA99F71.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7FB
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#98AABC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aa99f7;
/* rgb */ color: rgb(170, 153, 247);
/* oklch */ color: oklch(73.5% 0.134 291.0);
Tailwind
colors: {
  custom: {
    50: '#c5b7fa',
    500: '#aa99f7',
    950: '#000000',
  },
}
SCSS
$custom: #aa99f7;
$custom-light: #c5b7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa99f7",
  "rgb": {
    "r": 170,
    "g": 153,
    "b": 247
  },
  "hsl": {
    "h": 250.851,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73506,
    "c": 0.13427,
    "h": 291
  },
  "luminance": 0.38044
}

Semantic roles & 50–950 ramp

primary
#AA99F7
secondary
#EFF5D6
accent
#E204BA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA99F7

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

Preview Lab → · Contrast checker → · Palette generator →

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