#A98BF4#A98BF4

#A98BF4 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.151 H 295.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A98BF4
RGBrgb(169, 139, 244)
HSLhsl(257, 83%, 75%)
HSVhsv(257, 43%, 96%)
CMYKcmyk(30.7%, 43%, 0%, 4.3%)
CIE-LABlab(64.51, 33.58, -48.76)
CIE-LCHlch(64.51, 59.20, 304.55°)
OKLaboklab(70.75% 0.065 -0.1368)
OKLCHoklch(70.75% 0.151 295.4)
XYZxyz(41.9199, 33.4313, 89.8147)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98BF4 #D6F48B
analogous
#8BA1F4 #A98BF4 #DE8BF4
triadic
#A98BF4 #F4A98B #8BF4A9
tetradic
#A98BF4 #F48BA1 #D6F48B #8BF4DE
square
#A98BF4 #F48BA1 #D6F48B #8BF4DE
split-complementary
#A98BF4 #F4DE8B #A1F48B
monochromatic
#561BE9 #8053EF #A98BF4 #D2C3F9 #EAE3FC

Accessibility & contrast

On white

2.73
#A98BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A98BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98BF4
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98BF4#FFFFFF#000000##000000
##A98BF41.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF8
Deuteranopia (green-blind)
#709BF1
Tritanopia (blue-blind)
#999EB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a98bf4;
/* rgb */ color: rgb(169, 139, 244);
/* oklch */ color: oklch(70.8% 0.151 295.4);
Tailwind
colors: {
  custom: {
    50: '#c5adf8',
    500: '#a98bf4',
    950: '#000000',
  },
}
SCSS
$custom: #a98bf4;
$custom-light: #c5adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a98bf4",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 257.143,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70751,
    "c": 0.15147,
    "h": 295.4
  },
  "luminance": 0.33432
}

Semantic roles & 50–950 ramp

primary
#A98BF4
secondary
#ECF4D7
accent
#DF06A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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