#AA89F8#AA89F8

#AA89F8 is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.7% C 0.160 H 295.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AA89F8
RGBrgb(170, 137, 248)
HSLhsl(258, 89%, 75%)
HSVhsv(258, 45%, 97%)
CMYKcmyk(31.5%, 44.8%, 0%, 2.7%)
CIE-LABlab(64.33, 35.96, -51.23)
CIE-LCHlch(64.33, 62.59, 305.07°)
OKLaboklab(70.71% 0.0694 -0.144)
OKLCHoklch(70.71% 0.16 295.7)
XYZxyz(42.4623, 33.2141, 92.9626)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA89F8 #D7F889
analogous
#899FF8 #AA89F8 #E289F8
triadic
#AA89F8 #F8AA89 #89F8AA
tetradic
#AA89F8 #F8899F #D7F889 #89F8E2
square
#AA89F8 #F8899F #D7F889 #89F8E2
split-complementary
#AA89F8 #F8E289 #9FF889
monochromatic
#5715F1 #804FF5 #AA89F8 #D4C3FB #EAE2FD

Accessibility & contrast

On white

2.75
#AA89F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AA89F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA89F8
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA89F8#FFFFFF#000000##000000
##AA89F81.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#999EB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa89f8;
/* rgb */ color: rgb(170, 137, 248);
/* oklch */ color: oklch(70.7% 0.160 295.7);
Tailwind
colors: {
  custom: {
    50: '#c6acfb',
    500: '#aa89f8',
    950: '#000000',
  },
}
SCSS
$custom: #aa89f8;
$custom-light: #c6acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa89f8",
  "rgb": {
    "r": 170,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 257.838,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70705,
    "c": 0.15983,
    "h": 295.7
  },
  "luminance": 0.33215
}

Semantic roles & 50–950 ramp

primary
#AA89F8
secondary
#ECF5D6
accent
#E500A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA89F8

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

Preview Lab → · Contrast checker → · Palette generator →

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