#A98DFF#A98DFF

#A98DFF is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.7% C 0.163 H 293.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A98DFF
RGBrgb(169, 141, 255)
HSLhsl(255, 100%, 78%)
HSVhsv(255, 45%, 100%)
CMYKcmyk(33.7%, 44.7%, 0%, 0%)
CIE-LABlab(65.52, 35.22, -53.19)
CIE-LCHlch(65.52, 63.80, 303.51°)
OKLaboklab(71.69% 0.064 -0.1497)
OKLCHoklch(71.69% 0.163 293.2)
XYZxyz(43.9324, 34.7039, 98.9722)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98DFF #E3FF8D
analogous
#8DAAFF #A98DFF #E28DFF
triadic
#A98DFF #FFA98D #8DFFA9
tetradic
#A98DFF #FF8DAA #E3FF8D #8DFFE2
square
#A98DFF #FF8DAA #E3FF8D #8DFFE2
split-complementary
#A98DFF #FFE28D #AAFF8D
monochromatic
#4D13FF #7B50FF #A98DFF #D7CAFF #E8E0FF

Accessibility & contrast

On white

2.64
#A98DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A98DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98DFF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98DFF#FFFFFF#000000##000000
##A98DFF1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A1FF
Deuteranopia (green-blind)
#6B9DFC
Tritanopia (blue-blind)
#95A3BA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a98dff;
/* rgb */ color: rgb(169, 141, 255);
/* oklch */ color: oklch(71.7% 0.163 293.2);
Tailwind
colors: {
  custom: {
    50: '#c6aeff',
    500: '#a98dff',
    950: '#000000',
  },
}
SCSS
$custom: #a98dff;
$custom-light: #c6aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#a98dff",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 254.737,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7169,
    "c": 0.16283,
    "h": 293.2
  },
  "luminance": 0.34705
}

Semantic roles & 50–950 ramp

primary
#A98DFF
secondary
#EFF7D4
accent
#E600AD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A98DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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