#A998F1#A998F1

#A998F1 is a light, vivid violet. Relative luminance 0.372; OKLCH L 72.9% C 0.128 H 291.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A998F1
RGBrgb(169, 152, 241)
HSLhsl(251, 76%, 77%)
HSVhsv(251, 37%, 95%)
CMYKcmyk(29.9%, 36.9%, 0%, 5.5%)
CIE-LABlab(67.46, 25.48, -42.47)
CIE-LCHlch(67.46, 49.53, 300.96°)
OKLaboklab(72.94% 0.0472 -0.1186)
OKLCHoklch(72.94% 0.128 291.7)
XYZxyz(43.4636, 37.2416, 88.1005)
Luminance0.3724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998F1 #E0F198
analogous
#98B4F1 #A998F1 #D698F1
triadic
#A998F1 #F1A998 #98F1A9
tetradic
#A998F1 #F198B4 #E0F198 #98F1D6
square
#A998F1 #F198B4 #E0F198 #98F1D6
split-complementary
#A998F1 #F1D698 #B4F198
monochromatic
#4F2CE2 #7C62EA #A998F1 #D6CEF8 #E9E4FB

Accessibility & contrast

On white

2.49
#A998F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#A998F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998F1
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998F1#FFFFFF#000000##000000
##A998F11.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F4
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#99A8B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a998f1;
/* rgb */ color: rgb(169, 152, 241);
/* oklch */ color: oklch(72.9% 0.128 291.7);
Tailwind
colors: {
  custom: {
    50: '#c4b6f6',
    500: '#a998f1',
    950: '#000000',
  },
}
SCSS
$custom: #a998f1;
$custom-light: #c4b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a998f1",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 241
  },
  "hsl": {
    "h": 251.461,
    "s": 76.068,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72944,
    "c": 0.1276,
    "h": 291.7
  },
  "luminance": 0.37242
}

Semantic roles & 50–950 ramp

primary
#A998F1
secondary
#EEF3D8
accent
#D80DB1
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #A998F1

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

Preview Lab → · Contrast checker → · Palette generator →

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