#A98BF8#A98BF8

#A98BF8 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.0% C 0.157 H 294.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A98BF8
RGBrgb(169, 139, 248)
HSLhsl(257, 89%, 76%)
HSVhsv(257, 44%, 97%)
CMYKcmyk(31.9%, 44%, 0%, 2.7%)
CIE-LABlab(64.71, 34.58, -50.65)
CIE-LCHlch(64.71, 61.32, 304.32°)
OKLaboklab(70.96% 0.0656 -0.1423)
OKLCHoklch(70.96% 0.157 294.8)
XYZxyz(42.5338, 33.6769, 93.0481)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98BF8 #DAF88B
analogous
#8BA3F8 #A98BF8 #E08BF8
triadic
#A98BF8 #F8A98B #8BF8A9
tetradic
#A98BF8 #F88BA3 #DAF88B #8BF8E0
square
#A98BF8 #F88BA3 #DAF88B #8BF8E0
split-complementary
#A98BF8 #F8E08B #A3F88B
monochromatic
#5318F1 #7E51F5 #A98BF8 #D4C5FB #EAE2FD

Accessibility & contrast

On white

2.71
#A98BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A98BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98BF8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98BF8#FFFFFF#000000##000000
##A98BF81.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#979FB6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98bf8;
/* rgb */ color: rgb(169, 139, 248);
/* oklch */ color: oklch(71.0% 0.157 294.8);
Tailwind
colors: {
  custom: {
    50: '#c5adfb',
    500: '#a98bf8',
    950: '#000000',
  },
}
SCSS
$custom: #a98bf8;
$custom-light: #c5adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a98bf8",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 256.514,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70964,
    "c": 0.1567,
    "h": 294.8
  },
  "luminance": 0.33678
}

Semantic roles & 50–950 ramp

primary
#A98BF8
secondary
#EDF5D6
accent
#E500A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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