#A998F2#A998F2

#A998F2 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.0% C 0.129 H 291.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#A998F2
RGBrgb(169, 152, 242)
HSLhsl(251, 78%, 77%)
HSVhsv(251, 37%, 95%)
CMYKcmyk(30.2%, 37.2%, 0%, 5.1%)
CIE-LABlab(67.50, 25.73, -42.95)
CIE-LCHlch(67.50, 50.07, 300.92°)
OKLaboklab(72.99% 0.0474 -0.1199)
OKLCHoklch(72.99% 0.129 291.5)
XYZxyz(43.6134, 37.3015, 88.8893)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998F2 #E1F298
analogous
#98B4F2 #A998F2 #D698F2
triadic
#A998F2 #F2A998 #98F2A9
tetradic
#A998F2 #F298B4 #E1F298 #98F2D6
square
#A998F2 #F298B4 #E1F298 #98F2D6
split-complementary
#A998F2 #F2D698 #B4F298
monochromatic
#4E2BE4 #7C62EB #A998F2 #D6CEF9 #E8E4FC

Accessibility & contrast

On white

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

On black

8.46
#A998F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998F2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998F2#FFFFFF#000000##000000
##A998F21.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a998f2;
/* rgb */ color: rgb(169, 152, 242);
/* oklch */ color: oklch(73.0% 0.129 291.5);
Tailwind
colors: {
  custom: {
    50: '#c4b6f6',
    500: '#a998f2',
    950: '#000000',
  },
}
SCSS
$custom: #a998f2;
$custom-light: #c4b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a998f2",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 251.333,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72993,
    "c": 0.12896,
    "h": 291.5
  },
  "luminance": 0.37302
}

Semantic roles & 50–950 ramp

primary
#A998F2
secondary
#EEF3D8
accent
#DA0CB3
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #A998F2

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

Preview Lab → · Contrast checker → · Palette generator →

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