#AA8CF9#AA8CF9

#AA8CF9 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.3% C 0.157 H 294.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AA8CF9
RGBrgb(170, 140, 249)
HSLhsl(257, 90%, 76%)
HSVhsv(257, 44%, 98%)
CMYKcmyk(31.7%, 43.8%, 0%, 2.4%)
CIE-LABlab(65.07, 34.53, -50.60)
CIE-LCHlch(65.07, 61.26, 304.31°)
OKLaboklab(71.28% 0.0656 -0.1421)
OKLCHoklch(71.28% 0.157 294.8)
XYZxyz(43.0502, 34.1411, 93.9259)
Luminance0.3414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8CF9 #DBF98C
analogous
#8CA5F9 #AA8CF9 #E18CF9
triadic
#AA8CF9 #F9AA8C #8CF9AA
tetradic
#AA8CF9 #F98CA5 #DBF98C #8CF9E1
square
#AA8CF9 #F98CA5 #DBF98C #8CF9E1
split-complementary
#AA8CF9 #F9E18C #A5F98C
monochromatic
#5418F3 #7F52F6 #AA8CF9 #D5C6FC #EAE2FD

Accessibility & contrast

On white

2.68
#AA8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AA8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8CF9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8CF9#FFFFFF#000000##000000
##AA8CF91.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#6E9CF6
Tritanopia (blue-blind)
#98A0B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8cf9;
/* rgb */ color: rgb(170, 140, 249);
/* oklch */ color: oklch(71.3% 0.157 294.8);
Tailwind
colors: {
  custom: {
    50: '#c6aefc',
    500: '#aa8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #aa8cf9;
$custom-light: #c6aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8cf9",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 256.514,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71279,
    "c": 0.15657,
    "h": 294.8
  },
  "luminance": 0.34142
}

Semantic roles & 50–950 ramp

primary
#AA8CF9
secondary
#EDF6D5
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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