#A98EF9#A98EF9

#A98EF9 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.5% C 0.153 H 293.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A98EF9
RGBrgb(169, 142, 249)
HSLhsl(255, 90%, 77%)
HSVhsv(255, 43%, 98%)
CMYKcmyk(32.1%, 43%, 0%, 2.4%)
CIE-LABlab(65.45, 33.14, -50.01)
CIE-LCHlch(65.45, 60.00, 303.53°)
OKLaboklab(71.54% 0.0619 -0.1404)
OKLCHoklch(71.54% 0.153 293.8)
XYZxyz(43.1297, 34.6198, 94.0141)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EF9 #DEF98E
analogous
#8EA9F9 #A98EF9 #DF8EF9
triadic
#A98EF9 #F9A98E #8EF9A9
tetradic
#A98EF9 #F98EA9 #DEF98E #8EF9DF
square
#A98EF9 #F98EA9 #DEF98E #8EF9DF
split-complementary
#A98EF9 #F9DF8E #A9F98E
monochromatic
#511AF3 #7D54F6 #A98EF9 #D5C8FC #E9E2FD

Accessibility & contrast

On white

2.65
#A98EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A98EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EF9
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EF9#FFFFFF#000000##000000
##A98EF91.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FD
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#97A2B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a98ef9;
/* rgb */ color: rgb(169, 142, 249);
/* oklch */ color: oklch(71.5% 0.153 293.8);
Tailwind
colors: {
  custom: {
    50: '#c5affc',
    500: '#a98ef9',
    950: '#000000',
  },
}
SCSS
$custom: #a98ef9;
$custom-light: #c5affc;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ef9",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 255.14,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71543,
    "c": 0.15347,
    "h": 293.8
  },
  "luminance": 0.34621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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