#A998EA#A998EA

#A998EA is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.6% C 0.118 H 292.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A998EA
RGBrgb(169, 152, 234)
HSLhsl(252, 66%, 76%)
HSVhsv(252, 35%, 92%)
CMYKcmyk(27.8%, 35%, 0%, 8.2%)
CIE-LABlab(67.15, 23.75, -39.12)
CIE-LCHlch(67.15, 45.76, 301.27°)
OKLaboklab(72.61% 0.0456 -0.1089)
OKLCHoklch(72.61% 0.118 292.7)
XYZxyz(42.4380, 36.8313, 82.6992)
Luminance0.3683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998EA #D9EA98
analogous
#98B0EA #A998EA #D298EA
triadic
#A998EA #EAA998 #98EAA9
tetradic
#A998EA #EA98B0 #D9EA98 #98EAD2
square
#A998EA #EA98B0 #D9EA98 #98EAD2
split-complementary
#A998EA #EAD298 #B0EA98
monochromatic
#5432D5 #7F65E0 #A998EA #D3CBF4 #EAE6FA

Accessibility & contrast

On white

2.51
#A998EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A998EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998EA
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998EA#FFFFFF#000000##000000
##A998EA1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5ED
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#9BA6B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a998ea;
/* rgb */ color: rgb(169, 152, 234);
/* oklch */ color: oklch(72.6% 0.118 292.7);
Tailwind
colors: {
  custom: {
    50: '#c4b6f1',
    500: '#a998ea',
    950: '#000000',
  },
}
SCSS
$custom: #a998ea;
$custom-light: #c4b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a998ea",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 252.439,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72608,
    "c": 0.11803,
    "h": 292.7
  },
  "luminance": 0.36832
}

Semantic roles & 50–950 ramp

primary
#A998EA
secondary
#ECF1DA
accent
#CE18A8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #A998EA

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

Preview Lab → · Contrast checker → · Palette generator →

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