#A98FEF#A98FEF

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

Color values

HEX#A98FEF
RGBrgb(169, 143, 239)
HSLhsl(256, 75%, 75%)
HSVhsv(256, 40%, 94%)
CMYKcmyk(29.3%, 40.2%, 0%, 6.3%)
CIE-LABlab(65.21, 30.07, -44.91)
CIE-LCHlch(65.21, 54.05, 303.81°)
OKLaboklab(71.2% 0.0589 -0.1256)
OKLCHoklch(71.2% 0.139 295.1)
XYZxyz(41.7608, 34.3114, 86.0672)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98FEF #D5EF8F
analogous
#8FA5EF #A98FEF #D98FEF
triadic
#A98FEF #EFA98F #8FEFA9
tetradic
#A98FEF #EF8FA5 #D5EF8F #8FEFD9
square
#A98FEF #EF8FA5 #D5EF8F #8FEFD9
split-complementary
#A98FEF #EFD98F #A5EF8F
monochromatic
#5724E0 #8059E7 #A98FEF #D2C5F7 #EAE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98FEF#FFFFFF#000000##000000
##A98FEF1.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)
#739FF3
Deuteranopia (green-blind)
#779DED
Tritanopia (blue-blind)
#9AA0B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98fef;
/* rgb */ color: rgb(169, 143, 239);
/* oklch */ color: oklch(71.2% 0.139 295.1);
Tailwind
colors: {
  custom: {
    50: '#c5b0f4',
    500: '#a98fef',
    950: '#000000',
  },
}
SCSS
$custom: #a98fef;
$custom-light: #c5b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a98fef",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 256.25,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71203,
    "c": 0.13871,
    "h": 295.1
  },
  "luminance": 0.34312
}

Semantic roles & 50–950 ramp

primary
#A98FEF
secondary
#ECF3D8
accent
#D70EA1
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A98FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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