#AA98FF#AA98FF

#AA98FF is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.7% C 0.147 H 290.4°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#AA98FF
RGBrgb(170, 152, 255)
HSLhsl(250, 100%, 80%)
HSVhsv(250, 40%, 100%)
CMYKcmyk(33.3%, 40.4%, 0%, 0%)
CIE-LABlab(68.18, 29.28, -48.97)
CIE-LCHlch(68.18, 57.06, 300.88°)
OKLaboklab(73.73% 0.051 -0.1374)
OKLCHoklch(73.73% 0.147 290.4)
XYZxyz(45.8511, 38.2214, 99.5501)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98FF #EDFF98
analogous
#98BAFF #AA98FF #DD98FF
triadic
#AA98FF #FFAA98 #98FFAA
tetradic
#AA98FF #FF98BA #EDFF98 #98FFDD
square
#AA98FF #FF98BA #EDFF98 #98FFDD
split-complementary
#AA98FF #FFDD98 #BAFF98
monochromatic
#451EFF #775BFF #AA98FF #DDD5FF #E6E0FF

Accessibility & contrast

On white

2.43
#AA98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#AA98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98FF
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98FF#FFFFFF#000000##000000
##AA98FF1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#79A4FC
Tritanopia (blue-blind)
#95ABBF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aa98ff;
/* rgb */ color: rgb(170, 152, 255);
/* oklch */ color: oklch(73.7% 0.147 290.4);
Tailwind
colors: {
  custom: {
    50: '#c6b6ff',
    500: '#aa98ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa98ff;
$custom-light: #c6b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98ff",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 250.485,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.73727,
    "c": 0.14654,
    "h": 290.4
  },
  "luminance": 0.38223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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