#A98AF8#A98AF8

#A98AF8 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.158 H 295.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A98AF8
RGBrgb(169, 138, 248)
HSLhsl(257, 89%, 76%)
HSVhsv(257, 44%, 97%)
CMYKcmyk(31.9%, 44.4%, 0%, 2.7%)
CIE-LABlab(64.47, 35.14, -51.01)
CIE-LCHlch(64.47, 61.94, 304.56°)
OKLaboklab(70.79% 0.0669 -0.1434)
OKLCHoklch(70.79% 0.158 295)
XYZxyz(42.3897, 33.3886, 93.0001)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98AF8 #D9F88A
analogous
#8AA2F8 #A98AF8 #E08AF8
triadic
#A98AF8 #F8A98A #8AF8A9
tetradic
#A98AF8 #F88AA2 #D9F88A #8AF8E0
square
#A98AF8 #F88AA2 #D9F88A #8AF8E0
split-complementary
#A98AF8 #F8E08A #A2F88A
monochromatic
#5417F1 #7F50F5 #A98AF8 #D3C4FB #EAE2FD

Accessibility & contrast

On white

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

On black

7.68
#A98AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98AF8
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98AF8#FFFFFF#000000##000000
##A98AF81.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#6C9BF5
Tritanopia (blue-blind)
#979EB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a98af8;
/* rgb */ color: rgb(169, 138, 248);
/* oklch */ color: oklch(70.8% 0.158 295.0);
Tailwind
colors: {
  custom: {
    50: '#c5acfb',
    500: '#a98af8',
    950: '#000000',
  },
}
SCSS
$custom: #a98af8;
$custom-light: #c5acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a98af8",
  "rgb": {
    "r": 169,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 256.909,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7079,
    "c": 0.15822,
    "h": 295
  },
  "luminance": 0.33389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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