#AA98FA#AA98FA

#AA98FA is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.5% C 0.140 H 291.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#AA98FA
RGBrgb(170, 152, 250)
HSLhsl(251, 91%, 79%)
HSVhsv(251, 39%, 98%)
CMYKcmyk(32%, 39.2%, 0%, 2%)
CIE-LABlab(67.95, 28.01, -46.62)
CIE-LCHlch(67.95, 54.38, 301.00°)
OKLaboklab(73.47% 0.0501 -0.1305)
OKLCHoklch(73.47% 0.14 291)
XYZxyz(45.0567, 37.9037, 95.3662)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98FA #E8FA98
analogous
#98B7FA #AA98FA #DB98FA
triadic
#AA98FA #FAAA98 #98FAAA
tetradic
#AA98FA #FA98B7 #E8FA98 #98FADB
square
#AA98FA #FA98B7 #E8FA98 #98FADB
split-complementary
#AA98FA #FADB98 #B7FA98
monochromatic
#4A23F4 #7A5EF7 #AA98FA #DAD2FD #E7E2FE

Accessibility & contrast

On white

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

On black

8.58
#AA98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98FA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98FA#FFFFFF#000000##000000
##AA98FA1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#97AABD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aa98fa;
/* rgb */ color: rgb(170, 152, 250);
/* oklch */ color: oklch(73.5% 0.140 291.0);
Tailwind
colors: {
  custom: {
    50: '#c6b6fc',
    500: '#aa98fa',
    950: '#000000',
  },
}
SCSS
$custom: #aa98fa;
$custom-light: #c6b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98fa",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 251.02,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73473,
    "c": 0.13982,
    "h": 291
  },
  "luminance": 0.37905
}

Semantic roles & 50–950 ramp

primary
#AA98FA
secondary
#F0F6D5
accent
#E600BB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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