#A98EEA#A98EEA

#A98EEA is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.8% C 0.134 H 296.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A98EEA
RGBrgb(169, 142, 234)
HSLhsl(258, 69%, 74%)
HSVhsv(258, 39%, 92%)
CMYKcmyk(27.8%, 39.3%, 0%, 8.2%)
CIE-LABlab(64.74, 29.41, -42.89)
CIE-LCHlch(64.74, 52.00, 304.44°)
OKLaboklab(70.77% 0.0593 -0.1197)
OKLCHoklch(70.77% 0.134 296.3)
XYZxyz(40.8829, 33.7211, 82.1809)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EEA #CFEA8E
analogous
#8EA1EA #A98EEA #D78EEA
triadic
#A98EEA #EAA98E #8EEAA9
tetradic
#A98EEA #EA8EA1 #CFEA8E #8EEAD7
square
#A98EEA #EA8EA1 #CFEA8E #8EEAD7
split-complementary
#A98EEA #EAD78E #A1EA8E
monochromatic
#5B28D6 #825AE0 #A98EEA #D0C2F4 #EBE5FA

Accessibility & contrast

On white

2.71
#A98EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A98EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EEA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EEA#FFFFFF#000000##000000
##A98EEA1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#9C9EB1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98eea;
/* rgb */ color: rgb(169, 142, 234);
/* oklch */ color: oklch(70.8% 0.134 296.3);
Tailwind
colors: {
  custom: {
    50: '#c4aff1',
    500: '#a98eea',
    950: '#000000',
  },
}
SCSS
$custom: #a98eea;
$custom-light: #c4aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#a98eea",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 257.609,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70772,
    "c": 0.13362,
    "h": 296.3
  },
  "luminance": 0.33722
}

Semantic roles & 50–950 ramp

primary
#A98EEA
secondary
#EBF2D9
accent
#D1159A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A98EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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