#AA98FD#AA98FD

#AA98FD is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.6% C 0.144 H 290.6°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#AA98FD
RGBrgb(170, 152, 253)
HSLhsl(251, 96%, 79%)
HSVhsv(251, 40%, 99%)
CMYKcmyk(32.8%, 39.9%, 0%, 0.8%)
CIE-LABlab(68.09, 28.77, -48.03)
CIE-LCHlch(68.09, 55.99, 300.92°)
OKLaboklab(73.63% 0.0506 -0.1347)
OKLCHoklch(73.63% 0.144 290.6)
XYZxyz(45.5308, 38.0933, 97.8633)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98FD #EBFD98
analogous
#98B9FD #AA98FD #DD98FD
triadic
#AA98FD #FDAA98 #98FDAA
tetradic
#AA98FD #FD98B9 #EBFD98 #98FDDD
square
#AA98FD #FD98B9 #EBFD98 #98FDDD
split-complementary
#AA98FD #FDDD98 #B9FD98
monochromatic
#4720FB #785CFC #AA98FD #DCD4FE #E6E1FE

Accessibility & contrast

On white

2.44
#AA98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#AA98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98FD
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98FD#FFFFFF#000000##000000
##AA98FD1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#96ABBE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aa98fd;
/* rgb */ color: rgb(170, 152, 253);
/* oklch */ color: oklch(73.6% 0.144 290.6);
Tailwind
colors: {
  custom: {
    50: '#c6b6fe',
    500: '#aa98fd',
    950: '#000000',
  },
}
SCSS
$custom: #aa98fd;
$custom-light: #c6b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98fd",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 250.693,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73625,
    "c": 0.14386,
    "h": 290.6
  },
  "luminance": 0.38094
}

Semantic roles & 50–950 ramp

primary
#AA98FD
secondary
#F1F7D4
accent
#E600BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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