#A98DF7#A98DF7

#A98DF7 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.3% C 0.152 H 294.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#A98DF7
RGBrgb(169, 141, 247)
HSLhsl(256, 87%, 76%)
HSVhsv(256, 43%, 97%)
CMYKcmyk(31.6%, 42.9%, 0%, 3.1%)
CIE-LABlab(65.12, 33.20, -49.44)
CIE-LCHlch(65.12, 59.55, 303.88°)
OKLaboklab(71.26% 0.0629 -0.1388)
OKLCHoklch(71.26% 0.152 294.4)
XYZxyz(42.6714, 34.1995, 92.3306)
Luminance0.3420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98DF7 #DBF78D
analogous
#8DA6F7 #A98DF7 #DE8DF7
triadic
#A98DF7 #F7A98D #8DF7A9
tetradic
#A98DF7 #F78DA6 #DBF78D #8DF7DE
square
#A98DF7 #F78DA6 #DBF78D #8DF7DE
split-complementary
#A98DF7 #F7DE8D #A6F78D
monochromatic
#531BEF #7E54F3 #A98DF7 #D4C6FB #E9E2FD

Accessibility & contrast

On white

2.68
#A98DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#A98DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98DF7
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98DF7#FFFFFF#000000##000000
##A98DF71.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#97A1B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98df7;
/* rgb */ color: rgb(169, 141, 247);
/* oklch */ color: oklch(71.3% 0.152 294.4);
Tailwind
colors: {
  custom: {
    50: '#c5aefa',
    500: '#a98df7',
    950: '#000000',
  },
}
SCSS
$custom: #a98df7;
$custom-light: #c5aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#a98df7",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 255.849,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71261,
    "c": 0.15235,
    "h": 294.4
  },
  "luminance": 0.342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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