#AA98FC#AA98FC

#AA98FC is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.6% C 0.143 H 290.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AA98FC
RGBrgb(170, 152, 252)
HSLhsl(251, 94%, 79%)
HSVhsv(251, 40%, 99%)
CMYKcmyk(32.5%, 39.7%, 0%, 1.2%)
CIE-LABlab(68.04, 28.52, -47.56)
CIE-LCHlch(68.04, 55.45, 300.95°)
OKLaboklab(73.57% 0.0504 -0.1333)
OKLCHoklch(73.57% 0.143 290.7)
XYZxyz(45.3719, 38.0298, 97.0266)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA98FC #EAFC98
analogous
#98B8FC #AA98FC #DC98FC
triadic
#AA98FC #FCAA98 #98FCAA
tetradic
#AA98FC #FC98B8 #EAFC98 #98FCDC
square
#AA98FC #FC98B8 #EAFC98 #98FCDC
split-complementary
#AA98FC #FCDC98 #B8FC98
monochromatic
#4821F9 #795DFA #AA98FC #DBD3FE #E6E1FE

Accessibility & contrast

On white

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

On black

8.61
#AA98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA98FC
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA98FC#FFFFFF#000000##000000
##AA98FC1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#7AA4FA
Tritanopia (blue-blind)
#96AABE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aa98fc;
/* rgb */ color: rgb(170, 152, 252);
/* oklch */ color: oklch(73.6% 0.143 290.7);
Tailwind
colors: {
  custom: {
    50: '#c6b6fe',
    500: '#aa98fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa98fc;
$custom-light: #c6b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa98fc",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 250.8,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73574,
    "c": 0.14251,
    "h": 290.7
  },
  "luminance": 0.38031
}

Semantic roles & 50–950 ramp

primary
#AA98FC
secondary
#F0F6D5
accent
#E600BC
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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