#A998E8#A998E8

#A998E8 is a light, moderate violet. Relative luminance 0.367; OKLCH L 72.5% C 0.115 H 293.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#A998E8
RGBrgb(169, 152, 232)
HSLhsl(253, 63%, 75%)
HSVhsv(253, 34%, 91%)
CMYKcmyk(27.2%, 34.5%, 0%, 9%)
CIE-LABlab(67.06, 23.26, -38.15)
CIE-LCHlch(67.06, 44.68, 301.37°)
OKLaboklab(72.51% 0.0452 -0.1061)
OKLCHoklch(72.51% 0.115 293.1)
XYZxyz(42.1524, 36.7171, 81.1946)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998E8 #D7E898
analogous
#98AFE8 #A998E8 #D198E8
triadic
#A998E8 #E8A998 #98E8A9
tetradic
#A998E8 #E898AF #D7E898 #98E8D1
square
#A998E8 #E898AF #D7E898 #98E8D1
split-complementary
#A998E8 #E8D198 #AFE898
monochromatic
#5534D2 #7F66DD #A998E8 #D3CAF3 #EAE6F9

Accessibility & contrast

On white

2.52
#A998E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#A998E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998E8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998E8#FFFFFF#000000##000000
##A998E81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A4EB
Deuteranopia (green-blind)
#84A2E6
Tritanopia (blue-blind)
#9BA6B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a998e8;
/* rgb */ color: rgb(169, 152, 232);
/* oklch */ color: oklch(72.5% 0.115 293.1);
Tailwind
colors: {
  custom: {
    50: '#c4b6ef',
    500: '#a998e8',
    950: '#000000',
  },
}
SCSS
$custom: #a998e8;
$custom-light: #c4b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a998e8",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 252.75,
    "s": 63.492,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72514,
    "c": 0.11529,
    "h": 293.1
  },
  "luminance": 0.36718
}

Semantic roles & 50–950 ramp

primary
#A998E8
secondary
#ECF1DA
accent
#CB1AA6
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #A998E8

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

Preview Lab → · Contrast checker → · Palette generator →

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