#AA98F9#AA98F9

#AA98F9 is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.4% C 0.138 H 291.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AA98F9
RGBrgb(170, 152, 249)
HSLhsl(251, 89%, 79%)
HSVhsv(251, 39%, 98%)
CMYKcmyk(31.7%, 39%, 0%, 2.4%)
CIE-LABlab(67.90, 27.76, -46.14)
CIE-LCHlch(67.90, 53.85, 301.03°)
OKLaboklab(73.42% 0.0499 -0.1292)
OKLCHoklch(73.42% 0.138 291.1)
XYZxyz(44.9003, 37.8411, 94.5426)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98F9 #E7F998
analogous
#98B6F9 #AA98F9 #DA98F9
triadic
#AA98F9 #F9AA98 #98F9AA
tetradic
#AA98F9 #F998B6 #E7F998 #98F9DA
square
#AA98F9 #F998B6 #E7F998 #98F9DA
split-complementary
#AA98F9 #F9DA98 #B6F998
monochromatic
#4B24F2 #7A5EF6 #AA98F9 #DAD2FC #E7E2FD

Accessibility & contrast

On white

2.45
#AA98F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AA98F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98F9
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98F9#FFFFFF#000000##000000
##AA98F91.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#7CA3F7
Tritanopia (blue-blind)
#97AABD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa98f9;
/* rgb */ color: rgb(170, 152, 249);
/* oklch */ color: oklch(73.4% 0.138 291.1);
Tailwind
colors: {
  custom: {
    50: '#c6b6fb',
    500: '#aa98f9',
    950: '#000000',
  },
}
SCSS
$custom: #aa98f9;
$custom-light: #c6b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98f9",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 251.134,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73422,
    "c": 0.13847,
    "h": 291.1
  },
  "luminance": 0.37842
}

Semantic roles & 50–950 ramp

primary
#AA98F9
secondary
#EFF5D6
accent
#E600BB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA98F9

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

Preview Lab → · Contrast checker → · Palette generator →

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