#A98EE8#A98EE8

#A98EE8 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.7% C 0.131 H 296.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A98EE8
RGBrgb(169, 142, 232)
HSLhsl(258, 66%, 73%)
HSVhsv(258, 39%, 91%)
CMYKcmyk(27.2%, 38.8%, 0%, 9%)
CIE-LABlab(64.65, 28.92, -41.93)
CIE-LCHlch(64.65, 50.94, 304.60°)
OKLaboklab(70.67% 0.0589 -0.117)
OKLCHoklch(70.67% 0.131 296.7)
XYZxyz(40.5972, 33.6068, 80.6762)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EE8 #CDE88E
analogous
#8EA0E8 #A98EE8 #D68EE8
triadic
#A98EE8 #E8A98E #8EE8A9
tetradic
#A98EE8 #E88EA0 #CDE88E #8EE8D6
square
#A98EE8 #E88EA0 #CDE88E #8EE8D6
split-complementary
#A98EE8 #E8D68E #A0E88E
monochromatic
#5C2BD1 #825BDE #A98EE8 #D0C1F2 #ECE6FA

Accessibility & contrast

On white

2.72
#A98EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A98EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EE8
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EE8#FFFFFF#000000##000000
##A98EE81.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEB
Deuteranopia (green-blind)
#7A9CE6
Tritanopia (blue-blind)
#9C9EB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98ee8;
/* rgb */ color: rgb(169, 142, 232);
/* oklch */ color: oklch(70.7% 0.131 296.7);
Tailwind
colors: {
  custom: {
    50: '#c4afef',
    500: '#a98ee8',
    950: '#000000',
  },
}
SCSS
$custom: #a98ee8;
$custom-light: #c4afef;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ee8",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 258,
    "s": 66.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70673,
    "c": 0.13096,
    "h": 296.7
  },
  "luminance": 0.33607
}

Semantic roles & 50–950 ramp

primary
#A98EE8
secondary
#EAF1DA
accent
#CE1797
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A98EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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