#A98EFA#A98EFA

#A98EFA is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.6% C 0.155 H 293.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A98EFA
RGBrgb(169, 142, 250)
HSLhsl(255, 92%, 77%)
HSVhsv(255, 43%, 98%)
CMYKcmyk(32.4%, 43.2%, 0%, 2%)
CIE-LABlab(65.50, 33.39, -50.48)
CIE-LCHlch(65.50, 60.53, 303.48°)
OKLaboklab(71.6% 0.062 -0.1418)
OKLCHoklch(71.6% 0.155 293.6)
XYZxyz(43.2861, 34.6824, 94.8377)
Luminance0.3468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EFA #DFFA8E
analogous
#8EA9FA #A98EFA #DF8EFA
triadic
#A98EFA #FAA98E #8EFAA9
tetradic
#A98EFA #FA8EA9 #DFFA8E #8EFADF
square
#A98EFA #FA8EA9 #DFFA8E #8EFADF
split-complementary
#A98EFA #FADF8E #A9FA8E
monochromatic
#5019F5 #7C53F7 #A98EFA #D6C9FD #E9E2FE

Accessibility & contrast

On white

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

On black

7.94
#A98EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EFA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EFA#FFFFFF#000000##000000
##A98EFA1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#96A2B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a98efa;
/* rgb */ color: rgb(169, 142, 250);
/* oklch */ color: oklch(71.6% 0.155 293.6);
Tailwind
colors: {
  custom: {
    50: '#c5affc',
    500: '#a98efa',
    950: '#000000',
  },
}
SCSS
$custom: #a98efa;
$custom-light: #c5affc;
$custom-dark: #000000;
JSON
{
  "hex": "#a98efa",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 255,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71596,
    "c": 0.15479,
    "h": 293.6
  },
  "luminance": 0.34683
}

Semantic roles & 50–950 ramp

primary
#A98EFA
secondary
#EEF6D5
accent
#E600AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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