#AA98F2#AA98F2

#AA98F2 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.1% C 0.129 H 292.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AA98F2
RGBrgb(170, 152, 242)
HSLhsl(252, 78%, 77%)
HSVhsv(252, 37%, 95%)
CMYKcmyk(29.8%, 37.2%, 0%, 5.1%)
CIE-LABlab(67.59, 26.01, -42.82)
CIE-LCHlch(67.59, 50.09, 301.27°)
OKLaboklab(73.08% 0.0485 -0.1195)
OKLCHoklch(73.08% 0.129 292.1)
XYZxyz(43.8288, 37.4125, 88.8994)
Luminance0.3741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98F2 #E0F298
analogous
#98B3F2 #AA98F2 #D798F2
triadic
#AA98F2 #F2AA98 #98F2AA
tetradic
#AA98F2 #F298B3 #E0F298 #98F2D7
square
#AA98F2 #F298B3 #E0F298 #98F2D7
split-complementary
#AA98F2 #F2D798 #B3F298
monochromatic
#502BE4 #7D62EB #AA98F2 #D7CEF9 #E9E4FC

Accessibility & contrast

On white

2.48
#AA98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#AA98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98F2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98F2#FFFFFF#000000##000000
##AA98F21.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#80A3F0
Tritanopia (blue-blind)
#9AA8BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa98f2;
/* rgb */ color: rgb(170, 152, 242);
/* oklch */ color: oklch(73.1% 0.129 292.1);
Tailwind
colors: {
  custom: {
    50: '#c5b6f6',
    500: '#aa98f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa98f2;
$custom-light: #c5b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98f2",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 252,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73076,
    "c": 0.12899,
    "h": 292.1
  },
  "luminance": 0.37413
}

Semantic roles & 50–950 ramp

primary
#AA98F2
secondary
#EEF3D8
accent
#DA0CB1
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AA98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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