#A98CF9#A98CF9

#A98CF9 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.2% C 0.156 H 294.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A98CF9
RGBrgb(169, 140, 249)
HSLhsl(256, 90%, 76%)
HSVhsv(256, 44%, 98%)
CMYKcmyk(32.1%, 43.8%, 0%, 2.4%)
CIE-LABlab(64.99, 34.27, -50.75)
CIE-LCHlch(64.99, 61.23, 304.03°)
OKLaboklab(71.19% 0.0645 -0.1426)
OKLCHoklch(71.19% 0.156 294.3)
XYZxyz(42.8348, 34.0300, 93.9158)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CF9 #DCF98C
analogous
#8CA6F9 #A98CF9 #E08CF9
triadic
#A98CF9 #F9A98C #8CF9A9
tetradic
#A98CF9 #F98CA6 #DCF98C #8CF9E0
square
#A98CF9 #F98CA6 #DCF98C #8CF9E0
split-complementary
#A98CF9 #F9E08C #A6F98C
monochromatic
#5218F3 #7E52F6 #A98CF9 #D4C6FC #E9E2FD

Accessibility & contrast

On white

2.69
#A98CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A98CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CF9
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CF9#FFFFFF#000000##000000
##A98CF91.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#6E9CF6
Tritanopia (blue-blind)
#97A0B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98cf9;
/* rgb */ color: rgb(169, 140, 249);
/* oklch */ color: oklch(71.2% 0.156 294.3);
Tailwind
colors: {
  custom: {
    50: '#c5aefc',
    500: '#a98cf9',
    950: '#000000',
  },
}
SCSS
$custom: #a98cf9;
$custom-light: #c5aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a98cf9",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 255.963,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71192,
    "c": 0.15649,
    "h": 294.3
  },
  "luminance": 0.34031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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