#A98FEE#A98FEE

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

Color values

HEX#A98FEE
RGBrgb(169, 143, 238)
HSLhsl(256, 74%, 75%)
HSVhsv(256, 40%, 93%)
CMYKcmyk(29%, 39.9%, 0%, 6.7%)
CIE-LABlab(65.16, 29.83, -44.43)
CIE-LCHlch(65.16, 53.51, 303.88°)
OKLaboklab(71.15% 0.0587 -0.1242)
OKLCHoklch(71.15% 0.137 295.3)
XYZxyz(41.6135, 34.2524, 85.2913)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98FEE #D4EE8F
analogous
#8FA5EE #A98FEE #D88FEE
triadic
#A98FEE #EEA98F #8FEEA9
tetradic
#A98FEE #EE8FA5 #D4EE8F #8FEED8
square
#A98FEE #EE8FA5 #D4EE8F #8FEED8
split-complementary
#A98FEE #EED88F #A5EE8F
monochromatic
#5725DE #805AE6 #A98FEE #D2C4F6 #EBE4FB

Accessibility & contrast

On white

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

On black

7.85
#A98FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98FEE
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98FEE#FFFFFF#000000##000000
##A98FEE1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF2
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#9AA0B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98fee;
/* rgb */ color: rgb(169, 143, 238);
/* oklch */ color: oklch(71.2% 0.137 295.3);
Tailwind
colors: {
  custom: {
    50: '#c4b0f4',
    500: '#a98fee',
    950: '#000000',
  },
}
SCSS
$custom: #a98fee;
$custom-light: #c4b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a98fee",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 256.421,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71153,
    "c": 0.13738,
    "h": 295.3
  },
  "luminance": 0.34253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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