#A98AF7#A98AF7

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

Color values

HEX#A98AF7
RGBrgb(169, 138, 247)
HSLhsl(257, 87%, 75%)
HSVhsv(257, 44%, 97%)
CMYKcmyk(31.6%, 44.1%, 0%, 3.1%)
CIE-LABlab(64.42, 34.89, -50.54)
CIE-LCHlch(64.42, 61.41, 304.62°)
OKLaboklab(70.74% 0.0668 -0.142)
OKLCHoklch(70.74% 0.157 295.2)
XYZxyz(42.2350, 33.3267, 92.1852)
Luminance0.3333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98AF7 #D8F78A
analogous
#8AA1F7 #A98AF7 #DF8AF7
triadic
#A98AF7 #F7A98A #8AF7A9
tetradic
#A98AF7 #F78AA1 #D8F78A #8AF7DF
square
#A98AF7 #F78AA1 #D8F78A #8AF7DF
split-complementary
#A98AF7 #F7DF8A #A1F78A
monochromatic
#5517EF #7F51F3 #A98AF7 #D3C3FB #EAE2FD

Accessibility & contrast

On white

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

On black

7.67
#A98AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98AF7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98AF7#FFFFFF#000000##000000
##A98AF71.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#6D9BF4
Tritanopia (blue-blind)
#989EB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a98af7;
/* rgb */ color: rgb(169, 138, 247);
/* oklch */ color: oklch(70.7% 0.157 295.2);
Tailwind
colors: {
  custom: {
    50: '#c5acfa',
    500: '#a98af7',
    950: '#000000',
  },
}
SCSS
$custom: #a98af7;
$custom-light: #c5acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a98af7",
  "rgb": {
    "r": 169,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 257.064,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70736,
    "c": 0.15691,
    "h": 295.2
  },
  "luminance": 0.33327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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