#A98EF8#A98EF8

#A98EF8 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.5% C 0.152 H 293.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#A98EF8
RGBrgb(169, 142, 248)
HSLhsl(255, 88%, 76%)
HSVhsv(255, 43%, 97%)
CMYKcmyk(31.9%, 42.7%, 0%, 2.7%)
CIE-LABlab(65.40, 32.89, -49.54)
CIE-LCHlch(65.40, 59.46, 303.58°)
OKLaboklab(71.49% 0.0617 -0.1391)
OKLCHoklch(71.49% 0.152 293.9)
XYZxyz(42.9742, 34.5576, 93.1949)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EF8 #DDF88E
analogous
#8EA8F8 #A98EF8 #DE8EF8
triadic
#A98EF8 #F8A98E #8EF8A9
tetradic
#A98EF8 #F88EA8 #DDF88E #8EF8DE
square
#A98EF8 #F88EA8 #DDF88E #8EF8DE
split-complementary
#A98EF8 #F8DE8E #A8F88E
monochromatic
#511BF1 #7D54F4 #A98EF8 #D5C8FC #E9E2FD

Accessibility & contrast

On white

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

On black

7.91
#A98EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EF8
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EF8#FFFFFF#000000##000000
##A98EF81.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#97A2B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a98ef8;
/* rgb */ color: rgb(169, 142, 248);
/* oklch */ color: oklch(71.5% 0.152 293.9);
Tailwind
colors: {
  custom: {
    50: '#c5affb',
    500: '#a98ef8',
    950: '#000000',
  },
}
SCSS
$custom: #a98ef8;
$custom-light: #c5affb;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ef8",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 255.283,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7149,
    "c": 0.15216,
    "h": 293.9
  },
  "luminance": 0.34558
}

Semantic roles & 50–950 ramp

primary
#A98EF8
secondary
#EDF5D6
accent
#E501AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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