#A998FA#A998FA

#A998FA is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.4% C 0.140 H 290.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#A998FA
RGBrgb(169, 152, 250)
HSLhsl(250, 91%, 79%)
HSVhsv(250, 39%, 98%)
CMYKcmyk(32.4%, 39.2%, 0%, 2%)
CIE-LABlab(67.87, 27.74, -46.75)
CIE-LCHlch(67.87, 54.36, 300.69°)
OKLaboklab(73.39% 0.0489 -0.131)
OKLCHoklch(73.39% 0.14 290.5)
XYZxyz(44.8413, 37.7926, 95.3561)
Luminance0.3779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998FA #E9FA98
analogous
#98B8FA #A998FA #DA98FA
triadic
#A998FA #FAA998 #98FAA9
tetradic
#A998FA #FA98B8 #E9FA98 #98FADA
square
#A998FA #FA98B8 #E9FA98 #98FADA
split-complementary
#A998FA #FADA98 #B8FA98
monochromatic
#4823F4 #785EF7 #A998FA #DAD2FD #E7E2FE

Accessibility & contrast

On white

2.45
#A998FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#A998FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998FA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998FA#FFFFFF#000000##000000
##A998FA1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#96AABD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a998fa;
/* rgb */ color: rgb(169, 152, 250);
/* oklch */ color: oklch(73.4% 0.140 290.5);
Tailwind
colors: {
  custom: {
    50: '#c5b6fc',
    500: '#a998fa',
    950: '#000000',
  },
}
SCSS
$custom: #a998fa;
$custom-light: #c5b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a998fa",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 250.408,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7339,
    "c": 0.13981,
    "h": 290.5
  },
  "luminance": 0.37794
}

Semantic roles & 50–950 ramp

primary
#A998FA
secondary
#F0F6D5
accent
#E600BE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A998FA

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

Preview Lab → · Contrast checker → · Palette generator →

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