#AA89FB#AA89FB

#AA89FB is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.9% C 0.164 H 295.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AA89FB
RGBrgb(170, 137, 251)
HSLhsl(257, 93%, 76%)
HSVhsv(257, 45%, 98%)
CMYKcmyk(32.3%, 45.4%, 0%, 1.6%)
CIE-LABlab(64.48, 36.72, -52.63)
CIE-LCHlch(64.48, 64.17, 304.90°)
OKLaboklab(70.87% 0.0698 -0.1481)
OKLCHoklch(70.87% 0.164 295.2)
XYZxyz(42.9315, 33.4017, 95.4334)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA89FB #DAFB89
analogous
#89A1FB #AA89FB #E389FB
triadic
#AA89FB #FBAA89 #89FBAA
tetradic
#AA89FB #FB89A1 #DAFB89 #89FBE3
square
#AA89FB #FB89A1 #DAFB89 #89FBE3
split-complementary
#AA89FB #FBE389 #A1FB89
monochromatic
#5513F7 #7F4EF9 #AA89FB #D5C4FD #EAE1FE

Accessibility & contrast

On white

2.73
#AA89FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AA89FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA89FB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA89FB#FFFFFF#000000##000000
##AA89FB1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#989EB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa89fb;
/* rgb */ color: rgb(170, 137, 251);
/* oklch */ color: oklch(70.9% 0.164 295.2);
Tailwind
colors: {
  custom: {
    50: '#c6acfd',
    500: '#aa89fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa89fb;
$custom-light: #c6acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa89fb",
  "rgb": {
    "r": 170,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 257.368,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70868,
    "c": 0.1637,
    "h": 295.2
  },
  "luminance": 0.33402
}

Semantic roles & 50–950 ramp

primary
#AA89FB
secondary
#EDF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA89FB

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

Preview Lab → · Contrast checker → · Palette generator →

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