#AA8BFE#AA8BFE

#AA8BFE is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.4% C 0.165 H 294.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AA8BFE
RGBrgb(170, 139, 254)
HSLhsl(256, 98%, 77%)
HSVhsv(256, 45%, 100%)
CMYKcmyk(33.1%, 45.3%, 0%, 0.4%)
CIE-LABlab(65.09, 36.35, -53.31)
CIE-LCHlch(65.09, 64.52, 304.29°)
OKLaboklab(71.38% 0.0676 -0.15)
OKLCHoklch(71.38% 0.165 294.3)
XYZxyz(43.6950, 34.1663, 98.0394)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BFE #DFFE8B
analogous
#8BA6FE #AA8BFE #E48BFE
triadic
#AA8BFE #FEAA8B #8BFEAA
tetradic
#AA8BFE #FE8BA6 #DFFE8B #8BFEE4
square
#AA8BFE #FE8BA6 #DFFE8B #8BFEE4
split-complementary
#AA8BFE #FEE48B #A6FE8B
monochromatic
#5112FD #7E4EFD #AA8BFE #D6C8FF #E9E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA8BFE#FFFFFF#000000##000000
##AA8BFE1.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)
#659FFF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#97A1B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8bfe;
/* rgb */ color: rgb(170, 139, 254);
/* oklch */ color: oklch(71.4% 0.165 294.3);
Tailwind
colors: {
  custom: {
    50: '#c6adff',
    500: '#aa8bfe',
    950: '#000000',
  },
}
SCSS
$custom: #aa8bfe;
$custom-light: #c6adff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8bfe",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 256.174,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71376,
    "c": 0.16457,
    "h": 294.3
  },
  "luminance": 0.34167
}

Semantic roles & 50–950 ramp

primary
#AA8BFE
secondary
#EEF7D4
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA8BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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