#A98CEE#A98CEE

#A98CEE is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.6% C 0.142 H 296.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A98CEE
RGBrgb(169, 140, 238)
HSLhsl(258, 74%, 74%)
HSVhsv(258, 41%, 93%)
CMYKcmyk(29%, 41.2%, 0%, 6.7%)
CIE-LABlab(64.45, 31.52, -45.54)
CIE-LCHlch(64.45, 55.39, 304.69°)
OKLaboklab(70.62% 0.0627 -0.1274)
OKLCHoklch(70.62% 0.142 296.2)
XYZxyz(41.1692, 33.3637, 85.1432)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CEE #D1EE8C
analogous
#8CA0EE #A98CEE #DA8CEE
triadic
#A98CEE #EEA98C #8CEEA9
tetradic
#A98CEE #EE8CA0 #D1EE8C #8CEEDA
square
#A98CEE #EE8CA0 #D1EE8C #8CEEDA
split-complementary
#A98CEE #EEDA8C #A0EE8C
monochromatic
#5921DE #8157E6 #A98CEE #D1C1F6 #EBE4FB

Accessibility & contrast

On white

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

On black

7.67
#A98CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CEE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CEE#FFFFFF#000000##000000
##A98CEE1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF2
Deuteranopia (green-blind)
#759BEC
Tritanopia (blue-blind)
#9A9DB2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a98cee;
/* rgb */ color: rgb(169, 140, 238);
/* oklch */ color: oklch(70.6% 0.142 296.2);
Tailwind
colors: {
  custom: {
    50: '#c5aef4',
    500: '#a98cee',
    950: '#000000',
  },
}
SCSS
$custom: #a98cee;
$custom-light: #c5aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#a98cee",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 257.755,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70616,
    "c": 0.14205,
    "h": 296.2
  },
  "luminance": 0.33364
}

Semantic roles & 50–950 ramp

primary
#A98CEE
secondary
#EBF3D8
accent
#D60F9B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A98CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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