#A98AF6#A98AF6

#A98AF6 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.7% C 0.156 H 295.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A98AF6
RGBrgb(169, 138, 246)
HSLhsl(257, 86%, 75%)
HSVhsv(257, 44%, 96%)
CMYKcmyk(31.3%, 43.9%, 0%, 3.5%)
CIE-LABlab(64.38, 34.64, -50.07)
CIE-LCHlch(64.38, 60.88, 304.68°)
OKLaboklab(70.68% 0.0667 -0.1406)
OKLCHoklch(70.68% 0.156 295.4)
XYZxyz(42.0811, 33.2652, 91.3747)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98AF6 #D7F68A
analogous
#8AA1F6 #A98AF6 #DF8AF6
triadic
#A98AF6 #F6A98A #8AF6A9
tetradic
#A98AF6 #F68AA1 #D7F68A #8AF6DF
square
#A98AF6 #F68AA1 #D7F68A #8AF6DF
split-complementary
#A98AF6 #F6DF8A #A1F68A
monochromatic
#5518ED #7F51F2 #A98AF6 #D3C3FA #EAE3FD

Accessibility & contrast

On white

2.74
#A98AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A98AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98AF6
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98AF6#FFFFFF#000000##000000
##A98AF61.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#6D9BF3
Tritanopia (blue-blind)
#989EB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a98af6;
/* rgb */ color: rgb(169, 138, 246);
/* oklch */ color: oklch(70.7% 0.156 295.4);
Tailwind
colors: {
  custom: {
    50: '#c5acf9',
    500: '#a98af6',
    950: '#000000',
  },
}
SCSS
$custom: #a98af6;
$custom-light: #c5acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a98af6",
  "rgb": {
    "r": 169,
    "g": 138,
    "b": 246
  },
  "hsl": {
    "h": 257.222,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.15562,
    "h": 295.4
  },
  "luminance": 0.33266
}

Semantic roles & 50–950 ramp

primary
#A98AF6
secondary
#ECF5D6
accent
#E203A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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