#A998F7#A998F7

#A998F7 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.2% C 0.136 H 290.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#A998F7
RGBrgb(169, 152, 247)
HSLhsl(251, 86%, 78%)
HSVhsv(251, 38%, 97%)
CMYKcmyk(31.6%, 38.5%, 0%, 3.1%)
CIE-LABlab(67.73, 26.98, -45.33)
CIE-LCHlch(67.73, 52.75, 300.76°)
OKLaboklab(73.24% 0.0484 -0.1268)
OKLCHoklch(73.24% 0.136 290.9)
XYZxyz(44.3746, 37.6060, 92.8984)
Luminance0.3761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998F7 #E6F798
analogous
#98B6F7 #A998F7 #D898F7
triadic
#A998F7 #F7A998 #98F7A9
tetradic
#A998F7 #F798B6 #E6F798 #98F7D8
square
#A998F7 #F798B6 #E6F798 #98F7D8
split-complementary
#A998F7 #F7D898 #B6F798
monochromatic
#4A26EE #7A5FF3 #A998F7 #D8D1FB #E7E3FD

Accessibility & contrast

On white

2.46
#A998F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#A998F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998F7
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998F7#FFFFFF#000000##000000
##A998F71.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#7DA3F5
Tritanopia (blue-blind)
#97A9BC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a998f7;
/* rgb */ color: rgb(169, 152, 247);
/* oklch */ color: oklch(73.2% 0.136 290.9);
Tailwind
colors: {
  custom: {
    50: '#c5b6fa',
    500: '#a998f7',
    950: '#000000',
  },
}
SCSS
$custom: #a998f7;
$custom-light: #c5b6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a998f7",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 250.737,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7324,
    "c": 0.13575,
    "h": 290.9
  },
  "luminance": 0.37607
}

Semantic roles & 50–950 ramp

primary
#A998F7
secondary
#EFF5D6
accent
#E203BA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A998F7

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

Preview Lab → · Contrast checker → · Palette generator →

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