#AA98F5#AA98F5

#AA98F5 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.2% C 0.133 H 291.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#AA98F5
RGBrgb(170, 152, 245)
HSLhsl(252, 82%, 78%)
HSVhsv(252, 38%, 96%)
CMYKcmyk(30.6%, 38%, 0%, 3.9%)
CIE-LABlab(67.72, 26.75, -44.25)
CIE-LCHlch(67.72, 51.70, 301.16°)
OKLaboklab(73.22% 0.0491 -0.1237)
OKLCHoklch(73.22% 0.133 291.7)
XYZxyz(44.2830, 37.5942, 91.2918)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98F5 #E3F598
analogous
#98B4F5 #AA98F5 #D898F5
triadic
#AA98F5 #F5AA98 #98F5AA
tetradic
#AA98F5 #F598B4 #E3F598 #98F5D8
square
#AA98F5 #F598B4 #E3F598 #98F5D8
split-complementary
#AA98F5 #F5D898 #B4F598
monochromatic
#4E28EA #7C60F0 #AA98F5 #D8D0FA #E8E3FC

Accessibility & contrast

On white

2.47
#AA98F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#AA98F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98F5
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98F5#FFFFFF#000000##000000
##AA98F51.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA6F9
Deuteranopia (green-blind)
#7EA3F3
Tritanopia (blue-blind)
#99A9BB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa98f5;
/* rgb */ color: rgb(170, 152, 245);
/* oklch */ color: oklch(73.2% 0.133 291.7);
Tailwind
colors: {
  custom: {
    50: '#c5b6f9',
    500: '#aa98f5',
    950: '#000000',
  },
}
SCSS
$custom: #aa98f5;
$custom-light: #c5b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98f5",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 251.613,
    "s": 82.301,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73223,
    "c": 0.13306,
    "h": 291.7
  },
  "luminance": 0.37595
}

Semantic roles & 50–950 ramp

primary
#AA98F5
secondary
#EFF4D7
accent
#DF07B5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA98F5

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

Preview Lab → · Contrast checker → · Palette generator →

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