#A98DF6#A98DF6

#A98DF6 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.2% C 0.151 H 294.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#A98DF6
RGBrgb(169, 141, 246)
HSLhsl(256, 85%, 76%)
HSVhsv(256, 43%, 96%)
CMYKcmyk(31.3%, 42.7%, 0%, 3.5%)
CIE-LABlab(65.07, 32.95, -48.97)
CIE-LCHlch(65.07, 59.02, 303.93°)
OKLaboklab(71.21% 0.0627 -0.1374)
OKLCHoklch(71.21% 0.151 294.5)
XYZxyz(42.5175, 34.1379, 91.5201)
Luminance0.3414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98DF6 #DAF68D
analogous
#8DA5F6 #A98DF6 #DD8DF6
triadic
#A98DF6 #F6A98D #8DF6A9
tetradic
#A98DF6 #F68DA5 #DAF68D #8DF6DD
square
#A98DF6 #F68DA5 #DAF68D #8DF6DD
split-complementary
#A98DF6 #F6DD8D #A5F68D
monochromatic
#531CED #7E54F2 #A98DF6 #D4C6FA #EAE3FD

Accessibility & contrast

On white

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

On black

7.83
#A98DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98DF6
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98DF6#FFFFFF#000000##000000
##A98DF61.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFA
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#98A0B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98df6;
/* rgb */ color: rgb(169, 141, 246);
/* oklch */ color: oklch(71.2% 0.151 294.5);
Tailwind
colors: {
  custom: {
    50: '#c5aef9',
    500: '#a98df6',
    950: '#000000',
  },
}
SCSS
$custom: #a98df6;
$custom-light: #c5aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#a98df6",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 256,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71208,
    "c": 0.15104,
    "h": 294.5
  },
  "luminance": 0.34139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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