#A998F0#A998F0

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

Color values

HEX#A998F0
RGBrgb(169, 152, 240)
HSLhsl(252, 75%, 77%)
HSVhsv(252, 37%, 94%)
CMYKcmyk(29.6%, 36.7%, 0%, 5.9%)
CIE-LABlab(67.41, 25.23, -42.00)
CIE-LCHlch(67.41, 48.99, 301.00°)
OKLaboklab(72.9% 0.0469 -0.1172)
OKLCHoklch(72.9% 0.126 291.8)
XYZxyz(43.3146, 37.1820, 87.3160)
Luminance0.3718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998F0 #DFF098
analogous
#98B3F0 #A998F0 #D598F0
triadic
#A998F0 #F0A998 #98F0A9
tetradic
#A998F0 #F098B3 #DFF098 #98F0D5
square
#A998F0 #F098B3 #DFF098 #98F0D5
split-complementary
#A998F0 #F0D598 #B3F098
monochromatic
#502DE0 #7C63E8 #A998F0 #D6CDF8 #E9E4FB

Accessibility & contrast

On white

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

On black

8.44
#A998F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998F0
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998F0#FFFFFF#000000##000000
##A998F01.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a998f0;
/* rgb */ color: rgb(169, 152, 240);
/* oklch */ color: oklch(72.9% 0.126 291.8);
Tailwind
colors: {
  custom: {
    50: '#c4b6f5',
    500: '#a998f0',
    950: '#000000',
  },
}
SCSS
$custom: #a998f0;
$custom-light: #c4b6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a998f0",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 240
  },
  "hsl": {
    "h": 251.591,
    "s": 74.576,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72895,
    "c": 0.12623,
    "h": 291.8
  },
  "luminance": 0.37183
}

Semantic roles & 50–950 ramp

primary
#A998F0
secondary
#EEF3D8
accent
#D70FB0
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #A998F0

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

Preview Lab → · Contrast checker → · Palette generator →

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