#AA8CF8#AA8CF8

#AA8CF8 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.2% C 0.155 H 294.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#AA8CF8
RGBrgb(170, 140, 248)
HSLhsl(257, 89%, 76%)
HSVhsv(257, 44%, 97%)
CMYKcmyk(31.5%, 43.5%, 0%, 2.7%)
CIE-LABlab(65.03, 34.28, -50.13)
CIE-LCHlch(65.03, 60.73, 304.36°)
OKLaboklab(71.23% 0.0655 -0.1408)
OKLCHoklch(71.23% 0.155 294.9)
XYZxyz(42.8947, 34.0789, 93.1067)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8CF8 #DAF88C
analogous
#8CA4F8 #AA8CF8 #E08CF8
triadic
#AA8CF8 #F8AA8C #8CF8AA
tetradic
#AA8CF8 #F88CA4 #DAF88C #8CF8E0
square
#AA8CF8 #F88CA4 #DAF88C #8CF8E0
split-complementary
#AA8CF8 #F8E08C #A4F88C
monochromatic
#5519F1 #7F52F4 #AA8CF8 #D5C6FC #EAE2FD

Accessibility & contrast

On white

2.69
#AA8CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#AA8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8CF8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8CF8#FFFFFF#000000##000000
##AA8CF81.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#99A0B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8cf8;
/* rgb */ color: rgb(170, 140, 248);
/* oklch */ color: oklch(71.2% 0.155 294.9);
Tailwind
colors: {
  custom: {
    50: '#c6aefb',
    500: '#aa8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #aa8cf8;
$custom-light: #c6aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8cf8",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 256.667,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71226,
    "c": 0.15527,
    "h": 294.9
  },
  "luminance": 0.3408
}

Semantic roles & 50–950 ramp

primary
#AA8CF8
secondary
#EDF5D6
accent
#E500A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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