#A98EFE#A98EFE

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

Color values

HEX#A98EFE
RGBrgb(169, 142, 254)
HSLhsl(254, 98%, 78%)
HSVhsv(254, 44%, 100%)
CMYKcmyk(33.5%, 44.1%, 0%, 0.4%)
CIE-LABlab(65.70, 34.41, -52.36)
CIE-LCHlch(65.70, 62.65, 303.31°)
OKLaboklab(71.81% 0.0626 -0.1473)
OKLCHoklch(71.81% 0.16 293)
XYZxyz(43.9200, 34.9359, 98.1760)
Luminance0.3494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EFE #E3FE8E
analogous
#8EABFE #A98EFE #E18EFE
triadic
#A98EFE #FEA98E #8EFEA9
tetradic
#A98EFE #FE8EAB #E3FE8E #8EFEE1
square
#A98EFE #FE8EAB #E3FE8E #8EFEE1
split-complementary
#A98EFE #FEE18E #ABFE8E
monochromatic
#4D15FD #7B51FD #A98EFE #D7CBFF #E8E1FF

Accessibility & contrast

On white

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

On black

7.99
#A98EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EFE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EFE#FFFFFF#000000##000000
##A98EFE1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#6D9EFB
Tritanopia (blue-blind)
#95A3BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a98efe;
/* rgb */ color: rgb(169, 142, 254);
/* oklch */ color: oklch(71.8% 0.160 293.0);
Tailwind
colors: {
  custom: {
    50: '#c6afff',
    500: '#a98efe',
    950: '#000000',
  },
}
SCSS
$custom: #a98efe;
$custom-light: #c6afff;
$custom-dark: #000000;
JSON
{
  "hex": "#a98efe",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 254.464,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7181,
    "c": 0.16003,
    "h": 293
  },
  "luminance": 0.34937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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