#A98DF9#A98DF9

#A98DF9 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.4% C 0.155 H 294.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A98DF9
RGBrgb(169, 141, 249)
HSLhsl(256, 90%, 76%)
HSVhsv(256, 43%, 98%)
CMYKcmyk(32.1%, 43.4%, 0%, 2.4%)
CIE-LABlab(65.22, 33.70, -50.38)
CIE-LCHlch(65.22, 60.61, 303.78°)
OKLaboklab(71.37% 0.0632 -0.1415)
OKLCHoklch(71.37% 0.155 294.1)
XYZxyz(42.9816, 34.3236, 93.9648)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98DF9 #DDF98D
analogous
#8DA7F9 #A98DF9 #DF8DF9
triadic
#A98DF9 #F9A98D #8DF9A9
tetradic
#A98DF9 #F98DA7 #DDF98D #8DF9DF
square
#A98DF9 #F98DA7 #DDF98D #8DF9DF
split-complementary
#A98DF9 #F9DF8D #A7F98D
monochromatic
#5119F3 #7D53F6 #A98DF9 #D5C7FC #E9E2FD

Accessibility & contrast

On white

2.67
#A98DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A98DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98DF9
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98DF9#FFFFFF#000000##000000
##A98DF91.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFD
Deuteranopia (green-blind)
#6F9DF6
Tritanopia (blue-blind)
#97A1B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98df9;
/* rgb */ color: rgb(169, 141, 249);
/* oklch */ color: oklch(71.4% 0.155 294.1);
Tailwind
colors: {
  custom: {
    50: '#c5aefc',
    500: '#a98df9',
    950: '#000000',
  },
}
SCSS
$custom: #a98df9;
$custom-light: #c5aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a98df9",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 255.556,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71367,
    "c": 0.15498,
    "h": 294.1
  },
  "luminance": 0.34324
}

Semantic roles & 50–950 ramp

primary
#A98DF9
secondary
#EDF6D5
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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