#A998F3#A998F3

#A998F3 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.0% C 0.130 H 291.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A998F3
RGBrgb(169, 152, 243)
HSLhsl(251, 79%, 77%)
HSVhsv(251, 37%, 95%)
CMYKcmyk(30.5%, 37.4%, 0%, 4.7%)
CIE-LABlab(67.55, 25.98, -43.43)
CIE-LCHlch(67.55, 50.61, 300.89°)
OKLaboklab(73.04% 0.0476 -0.1213)
OKLCHoklch(73.04% 0.13 291.4)
XYZxyz(43.7640, 37.3617, 89.6824)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998F3 #E2F398
analogous
#98B4F3 #A998F3 #D798F3
triadic
#A998F3 #F3A998 #98F3A9
tetradic
#A998F3 #F398B4 #E2F398 #98F3D7
square
#A998F3 #F398B4 #E2F398 #98F3D7
split-complementary
#A998F3 #F3D798 #B4F398
monochromatic
#4D2AE6 #7B61ED #A998F3 #D7CFF9 #E8E4FC

Accessibility & contrast

On white

2.48
#A998F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A998F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998F3
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998F3#FFFFFF#000000##000000
##A998F31.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F7
Deuteranopia (green-blind)
#7FA3F1
Tritanopia (blue-blind)
#98A8BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a998f3;
/* rgb */ color: rgb(169, 152, 243);
/* oklch */ color: oklch(73.0% 0.130 291.4);
Tailwind
colors: {
  custom: {
    50: '#c4b6f7',
    500: '#a998f3',
    950: '#000000',
  },
}
SCSS
$custom: #a998f3;
$custom-light: #c4b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a998f3",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 243
  },
  "hsl": {
    "h": 251.209,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73042,
    "c": 0.13032,
    "h": 291.4
  },
  "luminance": 0.37363
}

Semantic roles & 50–950 ramp

primary
#A998F3
secondary
#EEF4D7
accent
#DB0AB4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A998F3

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

Preview Lab → · Contrast checker → · Palette generator →

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