#A98EEF#A98EEF

#A98EEF is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.0% C 0.140 H 295.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A98EEF
RGBrgb(169, 142, 239)
HSLhsl(257, 75%, 75%)
HSVhsv(257, 41%, 94%)
CMYKcmyk(29.3%, 40.6%, 0%, 6.3%)
CIE-LABlab(64.97, 30.64, -45.28)
CIE-LCHlch(64.97, 54.67, 304.09°)
OKLaboklab(71.02% 0.0602 -0.1267)
OKLCHoklch(71.02% 0.14 295.4)
XYZxyz(41.6114, 34.0125, 86.0174)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EEF #D4EF8E
analogous
#8EA4EF #A98EEF #DA8EEF
triadic
#A98EEF #EFA98E #8EEFA9
tetradic
#A98EEF #EF8EA4 #D4EF8E #8EEFDA
square
#A98EEF #EF8EA4 #D4EF8E #8EEFDA
split-complementary
#A98EEF #EFDA8E #A4EF8E
monochromatic
#5723E0 #8058E7 #A98EEF #D2C4F7 #EBE4FB

Accessibility & contrast

On white

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

On black

7.80
#A98EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EEF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EEF#FFFFFF#000000##000000
##A98EEF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF3
Deuteranopia (green-blind)
#769CED
Tritanopia (blue-blind)
#9A9FB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98eef;
/* rgb */ color: rgb(169, 142, 239);
/* oklch */ color: oklch(71.0% 0.140 295.4);
Tailwind
colors: {
  custom: {
    50: '#c5aff4',
    500: '#a98eef',
    950: '#000000',
  },
}
SCSS
$custom: #a98eef;
$custom-light: #c5aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#a98eef",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 256.701,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71024,
    "c": 0.14026,
    "h": 295.4
  },
  "luminance": 0.34013
}

Semantic roles & 50–950 ramp

primary
#A98EEF
secondary
#EBF3D8
accent
#D70E9F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A98EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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