#A998F5#A998F5

#A998F5 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.1% C 0.133 H 291.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#A998F5
RGBrgb(169, 152, 245)
HSLhsl(251, 82%, 78%)
HSVhsv(251, 38%, 96%)
CMYKcmyk(31%, 38%, 0%, 3.9%)
CIE-LABlab(67.64, 26.48, -44.38)
CIE-LCHlch(67.64, 51.68, 300.82°)
OKLaboklab(73.14% 0.048 -0.1241)
OKLCHoklch(73.14% 0.133 291.1)
XYZxyz(44.0676, 37.4832, 91.2817)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A998F5 #E4F598
analogous
#98B5F5 #A998F5 #D898F5
triadic
#A998F5 #F5A998 #98F5A9
tetradic
#A998F5 #F598B5 #E4F598 #98F5D8
square
#A998F5 #F598B5 #E4F598 #98F5D8
split-complementary
#A998F5 #F5D898 #B5F598
monochromatic
#4C28EA #7A60F0 #A998F5 #D8D0FA #E8E3FC

Accessibility & contrast

On white

2.47
#A998F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#A998F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A998F5
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A998F5#FFFFFF#000000##000000
##A998F51.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA6F9
Deuteranopia (green-blind)
#7EA3F3
Tritanopia (blue-blind)
#97A9BB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a998f5;
/* rgb */ color: rgb(169, 152, 245);
/* oklch */ color: oklch(73.1% 0.133 291.1);
Tailwind
colors: {
  custom: {
    50: '#c5b6f9',
    500: '#a998f5',
    950: '#000000',
  },
}
SCSS
$custom: #a998f5;
$custom-light: #c5b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a998f5",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 250.968,
    "s": 82.301,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7314,
    "c": 0.13304,
    "h": 291.1
  },
  "luminance": 0.37484
}

Semantic roles & 50–950 ramp

primary
#A998F5
secondary
#EFF4D7
accent
#DF07B7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A998F5

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

Preview Lab → · Contrast checker → · Palette generator →

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