#A998F9#A998F9

#A998F9 is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.3% C 0.138 H 290.6°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#A998F9
RGBrgb(169, 152, 249)
HSLhsl(251, 89%, 79%)
HSVhsv(251, 39%, 98%)
CMYKcmyk(32.1%, 39%, 0%, 2.4%)
CIE-LABlab(67.82, 27.49, -46.28)
CIE-LCHlch(67.82, 53.83, 300.71°)
OKLaboklab(73.34% 0.0488 -0.1296)
OKLCHoklch(73.34% 0.138 290.6)
XYZxyz(44.6849, 37.7301, 94.5325)
Luminance0.3773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998F9 #E8F998
analogous
#98B7F9 #A998F9 #D998F9
triadic
#A998F9 #F9A998 #98F9A9
tetradic
#A998F9 #F998B7 #E8F998 #98F9D9
square
#A998F9 #F998B7 #E8F998 #98F9D9
split-complementary
#A998F9 #F9D998 #B7F998
monochromatic
#4824F2 #795EF6 #A998F9 #D9D2FC #E7E2FD

Accessibility & contrast

On white

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

On black

8.55
#A998F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998F9
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998F9#FFFFFF#000000##000000
##A998F91.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a998f9;
/* rgb */ color: rgb(169, 152, 249);
/* oklch */ color: oklch(73.3% 0.138 290.6);
Tailwind
colors: {
  custom: {
    50: '#c5b6fb',
    500: '#a998f9',
    950: '#000000',
  },
}
SCSS
$custom: #a998f9;
$custom-light: #c5b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a998f9",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 250.515,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7334,
    "c": 0.13846,
    "h": 290.6
  },
  "luminance": 0.37731
}

Semantic roles & 50–950 ramp

primary
#A998F9
secondary
#F0F5D6
accent
#E600BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A998F9

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

Preview Lab → · Contrast checker → · Palette generator →

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