#A98DFD#A98DFD

#A98DFD is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.6% C 0.160 H 293.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A98DFD
RGBrgb(169, 141, 253)
HSLhsl(255, 97%, 77%)
HSVhsv(255, 44%, 99%)
CMYKcmyk(33.2%, 44.3%, 0%, 0.8%)
CIE-LABlab(65.42, 34.71, -52.26)
CIE-LCHlch(65.42, 62.74, 303.60°)
OKLaboklab(71.58% 0.0638 -0.147)
OKLCHoklch(71.58% 0.16 293.4)
XYZxyz(43.6121, 34.5758, 97.2855)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98DFD #E1FD8D
analogous
#8DA9FD #A98DFD #E18DFD
triadic
#A98DFD #FDA98D #8DFDA9
tetradic
#A98DFD #FD8DA9 #E1FD8D #8DFDE1
square
#A98DFD #FD8DA9 #E1FD8D #8DFDE1
split-complementary
#A98DFD #FDE18D #A9FD8D
monochromatic
#4E15FB #7C51FC #A98DFD #D6C9FE #E8E1FE

Accessibility & contrast

On white

2.65
#A98DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A98DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98DFD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98DFD#FFFFFF#000000##000000
##A98DFD1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#6C9DFA
Tritanopia (blue-blind)
#95A2B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a98dfd;
/* rgb */ color: rgb(169, 141, 253);
/* oklch */ color: oklch(71.6% 0.160 293.4);
Tailwind
colors: {
  custom: {
    50: '#c5aefe',
    500: '#a98dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a98dfd;
$custom-light: #c5aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#a98dfd",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 255,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71581,
    "c": 0.16022,
    "h": 293.4
  },
  "luminance": 0.34577
}

Semantic roles & 50–950 ramp

primary
#A98DFD
secondary
#EEF7D4
accent
#E600AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A98DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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