#AA98FB#AA98FB

#AA98FB is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.5% C 0.141 H 290.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AA98FB
RGBrgb(170, 152, 251)
HSLhsl(251, 93%, 79%)
HSVhsv(251, 39%, 98%)
CMYKcmyk(32.3%, 39.4%, 0%, 1.6%)
CIE-LABlab(68.00, 28.26, -47.09)
CIE-LCHlch(68.00, 54.92, 300.97°)
OKLaboklab(73.52% 0.0503 -0.1319)
OKLCHoklch(73.52% 0.141 290.9)
XYZxyz(45.2139, 37.9666, 96.1942)
Luminance0.3797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98FB #E9FB98
analogous
#98B8FB #AA98FB #DC98FB
triadic
#AA98FB #FBAA98 #98FBAA
tetradic
#AA98FB #FB98B8 #E9FB98 #98FBDC
square
#AA98FB #FB98B8 #E9FB98 #98FBDC
split-complementary
#AA98FB #FBDC98 #B8FB98
monochromatic
#4922F6 #795DF9 #AA98FB #DBD3FD #E7E2FE

Accessibility & contrast

On white

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

On black

8.59
#AA98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98FB
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98FB#FFFFFF#000000##000000
##AA98FB1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#97AABE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aa98fb;
/* rgb */ color: rgb(170, 152, 251);
/* oklch */ color: oklch(73.5% 0.141 290.9);
Tailwind
colors: {
  custom: {
    50: '#c6b6fd',
    500: '#aa98fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa98fb;
$custom-light: #c6b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98fb",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 250.909,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73523,
    "c": 0.14117,
    "h": 290.9
  },
  "luminance": 0.37968
}

Semantic roles & 50–950 ramp

primary
#AA98FB
secondary
#F0F6D5
accent
#E600BC
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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