#AA89FE#AA89FE

#AA89FE is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.0% C 0.168 H 294.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#AA89FE
RGBrgb(170, 137, 254)
HSLhsl(257, 98%, 77%)
HSVhsv(257, 46%, 100%)
CMYKcmyk(33.1%, 46.1%, 0%, 0.4%)
CIE-LABlab(64.64, 37.47, -54.03)
CIE-LCHlch(64.64, 65.75, 304.74°)
OKLaboklab(71.03% 0.0702 -0.1522)
OKLCHoklch(71.03% 0.168 294.8)
XYZxyz(43.4081, 33.5924, 97.9437)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA89FE #DDFE89
analogous
#89A3FE #AA89FE #E589FE
triadic
#AA89FE #FEAA89 #89FEAA
tetradic
#AA89FE #FE89A3 #DDFE89 #89FEE5
square
#AA89FE #FE89A3 #DDFE89 #89FEE5
split-complementary
#AA89FE #FEE589 #A3FE89
monochromatic
#5310FD #7E4CFD #AA89FE #D6C6FF #E9E1FF

Accessibility & contrast

On white

2.72
#AA89FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#AA89FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA89FE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA89FE#FFFFFF#000000##000000
##AA89FE1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#979FB7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa89fe;
/* rgb */ color: rgb(170, 137, 254);
/* oklch */ color: oklch(71.0% 0.168 294.8);
Tailwind
colors: {
  custom: {
    50: '#c6acff',
    500: '#aa89fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa89fe;
$custom-light: #c6acff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa89fe",
  "rgb": {
    "r": 170,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 256.923,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71032,
    "c": 0.16757,
    "h": 294.8
  },
  "luminance": 0.33593
}

Semantic roles & 50–950 ramp

primary
#AA89FE
secondary
#EDF7D4
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA89FE

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

Preview Lab → · Contrast checker → · Palette generator →

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