#AA98EF#AA98EF

#AA98EF is a light, vivid violet. Relative luminance 0.372; OKLCH L 72.9% C 0.125 H 292.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#AA98EF
RGBrgb(170, 152, 239)
HSLhsl(252, 73%, 77%)
HSVhsv(252, 36%, 94%)
CMYKcmyk(28.9%, 36.4%, 0%, 6.3%)
CIE-LABlab(67.45, 25.26, -41.38)
CIE-LCHlch(67.45, 48.48, 301.40°)
OKLaboklab(72.93% 0.0478 -0.1154)
OKLCHoklch(72.93% 0.125 292.5)
XYZxyz(43.3819, 37.2338, 86.5459)
Luminance0.3724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98EF #DDEF98
analogous
#98B2EF #AA98EF #D698EF
triadic
#AA98EF #EFAA98 #98EFAA
tetradic
#AA98EF #EF98B2 #DDEF98 #98EFD6
square
#AA98EF #EF98B2 #DDEF98 #98EFD6
split-complementary
#AA98EF #EFD698 #B2EF98
monochromatic
#532EDF #7E63E7 #AA98EF #D6CDF7 #E9E5FB

Accessibility & contrast

On white

2.49
#AA98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#AA98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98EF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98EF#FFFFFF#000000##000000
##AA98EF1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F2
Deuteranopia (green-blind)
#81A3ED
Tritanopia (blue-blind)
#9BA7B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aa98ef;
/* rgb */ color: rgb(170, 152, 239);
/* oklch */ color: oklch(72.9% 0.125 292.5);
Tailwind
colors: {
  custom: {
    50: '#c5b6f4',
    500: '#aa98ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa98ef;
$custom-light: #c5b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98ef",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 252.414,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7293,
    "c": 0.12492,
    "h": 292.5
  },
  "luminance": 0.37235
}

Semantic roles & 50–950 ramp

primary
#AA98EF
secondary
#EDF3D8
accent
#D510AC
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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