#A98EE4#A98EE4

#A98EE4 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.5% C 0.126 H 297.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A98EE4
RGBrgb(169, 142, 228)
HSLhsl(259, 61%, 73%)
HSVhsv(259, 38%, 89%)
CMYKcmyk(25.9%, 37.7%, 0%, 10.6%)
CIE-LABlab(64.47, 27.96, -40.00)
CIE-LCHlch(64.47, 48.80, 304.95°)
OKLaboklab(70.48% 0.0581 -0.1114)
OKLCHoklch(70.48% 0.126 297.5)
XYZxyz(40.0355, 33.3821, 77.7179)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EE4 #C9E48E
analogous
#8E9EE4 #A98EE4 #D48EE4
triadic
#A98EE4 #E4A98E #8EE4A9
tetradic
#A98EE4 #E48E9E #C9E48E #8EE4D4
square
#A98EE4 #E48E9E #C9E48E #8EE4D4
split-complementary
#A98EE4 #E4D48E #9EE48E
monochromatic
#6030C8 #835DD8 #A98EE4 #CFBFF0 #ECE6F9

Accessibility & contrast

On white

2.74
#A98EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A98EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EE4
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EE4#FFFFFF#000000##000000
##A98EE41.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#789DE7
Deuteranopia (green-blind)
#7C9BE2
Tritanopia (blue-blind)
#9D9DAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a98ee4;
/* rgb */ color: rgb(169, 142, 228);
/* oklch */ color: oklch(70.5% 0.126 297.5);
Tailwind
colors: {
  custom: {
    50: '#c4afed',
    500: '#a98ee4',
    950: '#000000',
  },
}
SCSS
$custom: #a98ee4;
$custom-light: #c4afed;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ee4",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 258.837,
    "s": 61.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70477,
    "c": 0.12562,
    "h": 297.5
  },
  "luminance": 0.33382
}

Semantic roles & 50–950 ramp

primary
#A98EE4
secondary
#EAF0DB
accent
#C91C93
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A98EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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