#A98EF6#A98EF6

#A98EF6 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.4% C 0.150 H 294.2°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A98EF6
RGBrgb(169, 142, 246)
HSLhsl(256, 85%, 76%)
HSVhsv(256, 42%, 96%)
CMYKcmyk(31.3%, 42.3%, 0%, 3.5%)
CIE-LABlab(65.31, 32.38, -48.60)
CIE-LCHlch(65.31, 58.40, 303.68°)
OKLaboklab(71.39% 0.0614 -0.1363)
OKLCHoklch(71.39% 0.15 294.2)
XYZxyz(42.6656, 34.4341, 91.5695)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EF6 #DBF68E
analogous
#8EA7F6 #A98EF6 #DD8EF6
triadic
#A98EF6 #F6A98E #8EF6A9
tetradic
#A98EF6 #F68EA7 #DBF68E #8EF6DD
square
#A98EF6 #F68EA7 #DBF68E #8EF6DD
split-complementary
#A98EF6 #F6DD8E #A7F68E
monochromatic
#531DED #7E55F1 #A98EF6 #D4C7FB #E9E3FD

Accessibility & contrast

On white

2.66
#A98EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A98EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EF6
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EF6#FFFFFF#000000##000000
##A98EF61.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FA
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#98A1B6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a98ef6;
/* rgb */ color: rgb(169, 142, 246);
/* oklch */ color: oklch(71.4% 0.150 294.2);
Tailwind
colors: {
  custom: {
    50: '#c5aff9',
    500: '#a98ef6',
    950: '#000000',
  },
}
SCSS
$custom: #a98ef6;
$custom-light: #c5aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ef6",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 255.577,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71385,
    "c": 0.14951,
    "h": 294.2
  },
  "luminance": 0.34435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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