#A98DF5#A98DF5

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

Color values

HEX#A98DF5
RGBrgb(169, 141, 245)
HSLhsl(256, 84%, 76%)
HSVhsv(256, 42%, 96%)
CMYKcmyk(31%, 42.4%, 0%, 3.9%)
CIE-LABlab(65.02, 32.70, -48.50)
CIE-LCHlch(65.02, 58.49, 303.99°)
OKLaboklab(71.16% 0.0626 -0.136)
OKLCHoklch(71.16% 0.15 294.7)
XYZxyz(42.3644, 34.0767, 90.7140)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98DF5 #D9F58D
analogous
#8DA5F5 #A98DF5 #DD8DF5
triadic
#A98DF5 #F5A98D #8DF5A9
tetradic
#A98DF5 #F58DA5 #D9F58D #8DF5DD
square
#A98DF5 #F58DA5 #D9F58D #8DF5DD
split-complementary
#A98DF5 #F5DD8D #A5F58D
monochromatic
#541CEB #7F55F0 #A98DF5 #D3C5FA #EAE3FD

Accessibility & contrast

On white

2.69
#A98DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A98DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98DF5
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98DF5#FFFFFF#000000##000000
##A98DF51.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FF9
Deuteranopia (green-blind)
#729CF2
Tritanopia (blue-blind)
#98A0B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98df5;
/* rgb */ color: rgb(169, 141, 245);
/* oklch */ color: oklch(71.2% 0.150 294.7);
Tailwind
colors: {
  custom: {
    50: '#c5aef9',
    500: '#a98df5',
    950: '#000000',
  },
}
SCSS
$custom: #a98df5;
$custom-light: #c5aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#a98df5",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 256.154,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71156,
    "c": 0.14972,
    "h": 294.7
  },
  "luminance": 0.34077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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