#A98EFD#A98EFD

#A98EFD is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.8% C 0.159 H 293.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A98EFD
RGBrgb(169, 142, 253)
HSLhsl(255, 97%, 77%)
HSVhsv(255, 44%, 99%)
CMYKcmyk(33.2%, 43.9%, 0%, 0.8%)
CIE-LABlab(65.65, 34.15, -51.89)
CIE-LCHlch(65.65, 62.12, 303.35°)
OKLaboklab(71.76% 0.0625 -0.1459)
OKLCHoklch(71.76% 0.159 293.2)
XYZxyz(43.7603, 34.8720, 97.3349)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EFD #E2FD8E
analogous
#8EAAFD #A98EFD #E18EFD
triadic
#A98EFD #FDA98E #8EFDA9
tetradic
#A98EFD #FD8EAA #E2FD8E #8EFDE1
square
#A98EFD #FD8EAA #E2FD8E #8EFDE1
split-complementary
#A98EFD #FDE18E #AAFD8E
monochromatic
#4D16FB #7B52FC #A98EFD #D7CAFE #E8E1FE

Accessibility & contrast

On white

2.63
#A98EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A98EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EFD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EFD#FFFFFF#000000##000000
##A98EFD1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#6E9EFA
Tritanopia (blue-blind)
#95A3B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a98efd;
/* rgb */ color: rgb(169, 142, 253);
/* oklch */ color: oklch(71.8% 0.159 293.2);
Tailwind
colors: {
  custom: {
    50: '#c5affe',
    500: '#a98efd',
    950: '#000000',
  },
}
SCSS
$custom: #a98efd;
$custom-light: #c5affe;
$custom-dark: #000000;
JSON
{
  "hex": "#a98efd",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 254.595,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71756,
    "c": 0.15873,
    "h": 293.2
  },
  "luminance": 0.34873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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