#A98EEC#A98EEC

#A98EEC is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.9% C 0.136 H 296.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A98EEC
RGBrgb(169, 142, 236)
HSLhsl(257, 71%, 74%)
HSVhsv(257, 40%, 93%)
CMYKcmyk(28.4%, 39.8%, 0%, 7.5%)
CIE-LABlab(64.83, 29.90, -43.85)
CIE-LCHlch(64.83, 53.07, 304.29°)
OKLaboklab(70.87% 0.0597 -0.1225)
OKLCHoklch(70.87% 0.136 296)
XYZxyz(41.1719, 33.8366, 83.7026)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EEC #D1EC8E
analogous
#8EA2EC #A98EEC #D88EEC
triadic
#A98EEC #ECA98E #8EECA9
tetradic
#A98EEC #EC8EA2 #D1EC8E #8EECD8
square
#A98EEC #EC8EA2 #D1EC8E #8EECD8
split-complementary
#A98EEC #ECD88E #A2EC8E
monochromatic
#5925DA #815AE3 #A98EEC #D1C2F5 #EBE5FB

Accessibility & contrast

On white

2.70
#A98EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A98EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EEC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EEC#FFFFFF#000000##000000
##A98EEC1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#9B9FB2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98eec;
/* rgb */ color: rgb(169, 142, 236);
/* oklch */ color: oklch(70.9% 0.136 296.0);
Tailwind
colors: {
  custom: {
    50: '#c4aff2',
    500: '#a98eec',
    950: '#000000',
  },
}
SCSS
$custom: #a98eec;
$custom-light: #c4aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a98eec",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 257.234,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.13628,
    "h": 296
  },
  "luminance": 0.33837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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