#A998FF#A998FF

#A998FF is a light, vivid blue. Relative luminance 0.381; OKLCH L 73.6% C 0.147 H 289.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#A998FF
RGBrgb(169, 152, 255)
HSLhsl(250, 100%, 80%)
HSVhsv(250, 40%, 100%)
CMYKcmyk(33.7%, 40.4%, 0%, 0%)
CIE-LABlab(68.10, 29.02, -49.10)
CIE-LCHlch(68.10, 57.04, 300.58°)
OKLaboklab(73.65% 0.0499 -0.1378)
OKLCHoklch(73.65% 0.147 289.9)
XYZxyz(45.6357, 38.1104, 99.5400)
Luminance0.3811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998FF #EEFF98
analogous
#98BBFF #A998FF #DD98FF
triadic
#A998FF #FFA998 #98FFA9
tetradic
#A998FF #FF98BB #EEFF98 #98FFDD
square
#A998FF #FF98BB #EEFF98 #98FFDD
split-complementary
#A998FF #FFDD98 #BBFF98
monochromatic
#431EFF #765BFF #A998FF #DCD5FF #E5E0FF

Accessibility & contrast

On white

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

On black

8.62
#A998FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998FF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998FF#FFFFFF#000000##000000
##A998FF1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a998ff;
/* rgb */ color: rgb(169, 152, 255);
/* oklch */ color: oklch(73.6% 0.147 289.9);
Tailwind
colors: {
  custom: {
    50: '#c5b6ff',
    500: '#a998ff',
    950: '#000000',
  },
}
SCSS
$custom: #a998ff;
$custom-light: #c5b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a998ff",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 249.903,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.73645,
    "c": 0.14654,
    "h": 289.9
  },
  "luminance": 0.38111
}

Semantic roles & 50–950 ramp

primary
#A998FF
secondary
#F1F7D4
accent
#E600C0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A998FF

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

Preview Lab → · Contrast checker → · Palette generator →

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