#A98AED#A98AED

#A98AED is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.2% C 0.144 H 297.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#A98AED
RGBrgb(169, 138, 237)
HSLhsl(259, 73%, 74%)
HSVhsv(259, 42%, 93%)
CMYKcmyk(28.7%, 41.8%, 0%, 7.1%)
CIE-LABlab(63.94, 32.41, -45.80)
CIE-LCHlch(63.94, 56.11, 305.28°)
OKLaboklab(70.21% 0.0652 -0.1282)
OKLCHoklch(70.21% 0.144 297)
XYZxyz(40.7331, 32.7260, 84.2751)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98AED #CEED8A
analogous
#8A9CED #A98AED #DA8AED
triadic
#A98AED #EDA98A #8AEDA9
tetradic
#A98AED #ED8A9C #CEED8A #8AEDDA
square
#A98AED #ED8A9C #CEED8A #8AEDDA
split-complementary
#A98AED #EDDA8A #9CED8A
monochromatic
#5C22DB #8255E5 #A98AED #D0BFF5 #ECE4FB

Accessibility & contrast

On white

2.78
#A98AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#A98AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98AED
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98AED#FFFFFF#000000##000000
##A98AED1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF1
Deuteranopia (green-blind)
#739AEA
Tritanopia (blue-blind)
#9B9CB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a98aed;
/* rgb */ color: rgb(169, 138, 237);
/* oklch */ color: oklch(70.2% 0.144 297.0);
Tailwind
colors: {
  custom: {
    50: '#c5acf3',
    500: '#a98aed',
    950: '#000000',
  },
}
SCSS
$custom: #a98aed;
$custom-light: #c5acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a98aed",
  "rgb": {
    "r": 169,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 258.788,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7021,
    "c": 0.14385,
    "h": 297
  },
  "luminance": 0.32726
}

Semantic roles & 50–950 ramp

primary
#A98AED
secondary
#EAF3D8
accent
#D51098
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A98AED

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

Preview Lab → · Contrast checker → · Palette generator →

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