#A98DFE#A98DFE

#A98DFE is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.6% C 0.162 H 293.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A98DFE
RGBrgb(169, 141, 254)
HSLhsl(255, 98%, 77%)
HSVhsv(255, 44%, 100%)
CMYKcmyk(33.5%, 44.5%, 0%, 0.4%)
CIE-LABlab(65.47, 34.97, -52.72)
CIE-LCHlch(65.47, 63.27, 303.55°)
OKLaboklab(71.64% 0.0639 -0.1484)
OKLCHoklch(71.64% 0.162 293.3)
XYZxyz(43.7719, 34.6397, 98.1267)
Luminance0.3464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98DFE #E2FE8D
analogous
#8DAAFE #A98DFE #E18DFE
triadic
#A98DFE #FEA98D #8DFEA9
tetradic
#A98DFE #FE8DAA #E2FE8D #8DFEE1
square
#A98DFE #FE8DAA #E2FE8D #8DFEE1
split-complementary
#A98DFE #FEE18D #AAFE8D
monochromatic
#4D14FD #7B50FD #A98DFE #D7CAFF #E8E1FF

Accessibility & contrast

On white

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

On black

7.93
#A98DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98DFE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98DFE#FFFFFF#000000##000000
##A98DFE1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#95A2B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a98dfe;
/* rgb */ color: rgb(169, 141, 254);
/* oklch */ color: oklch(71.6% 0.162 293.3);
Tailwind
colors: {
  custom: {
    50: '#c6aeff',
    500: '#a98dfe',
    950: '#000000',
  },
}
SCSS
$custom: #a98dfe;
$custom-light: #c6aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#a98dfe",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 254.867,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71635,
    "c": 0.16153,
    "h": 293.3
  },
  "luminance": 0.34641
}

Semantic roles & 50–950 ramp

primary
#A98DFE
secondary
#EEF7D4
accent
#E600AD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A98DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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