#A98BF9#A98BF9

#A98BF9 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.0% C 0.158 H 294.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A98BF9
RGBrgb(169, 139, 249)
HSLhsl(256, 90%, 76%)
HSVhsv(256, 44%, 98%)
CMYKcmyk(32.1%, 44.2%, 0%, 2.4%)
CIE-LABlab(64.75, 34.83, -51.12)
CIE-LCHlch(64.75, 61.85, 304.27°)
OKLaboklab(71.02% 0.0658 -0.1437)
OKLCHoklch(71.02% 0.158 294.6)
XYZxyz(42.6894, 33.7391, 93.8673)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98BF9 #DBF98B
analogous
#8BA4F9 #A98BF9 #E08BF9
triadic
#A98BF9 #F9A98B #8BF9A9
tetradic
#A98BF9 #F98BA4 #DBF98B #8BF9E0
square
#A98BF9 #F98BA4 #DBF98B #8BF9E0
split-complementary
#A98BF9 #F9E08B #A4F98B
monochromatic
#5317F3 #7E51F6 #A98BF9 #D4C5FC #E9E2FD

Accessibility & contrast

On white

2.71
#A98BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A98BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98BF9
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98BF9#FFFFFF#000000##000000
##A98BF91.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#6D9BF6
Tritanopia (blue-blind)
#979FB6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98bf9;
/* rgb */ color: rgb(169, 139, 249);
/* oklch */ color: oklch(71.0% 0.158 294.6);
Tailwind
colors: {
  custom: {
    50: '#c5adfc',
    500: '#a98bf9',
    950: '#000000',
  },
}
SCSS
$custom: #a98bf9;
$custom-light: #c5adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a98bf9",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 256.364,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71017,
    "c": 0.158,
    "h": 294.6
  },
  "luminance": 0.3374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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