#A98BF6#A98BF6

#A98BF6 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.9% C 0.154 H 295.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A98BF6
RGBrgb(169, 139, 246)
HSLhsl(257, 86%, 75%)
HSVhsv(257, 43%, 96%)
CMYKcmyk(31.3%, 43.5%, 0%, 3.5%)
CIE-LABlab(64.61, 34.08, -49.70)
CIE-LCHlch(64.61, 60.26, 304.43°)
OKLaboklab(70.86% 0.0653 -0.1395)
OKLCHoklch(70.86% 0.154 295.1)
XYZxyz(42.2252, 33.5534, 91.4227)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98BF6 #D8F68B
analogous
#8BA3F6 #A98BF6 #DE8BF6
triadic
#A98BF6 #F6A98B #8BF6A9
tetradic
#A98BF6 #F68BA3 #D8F68B #8BF6DE
square
#A98BF6 #F68BA3 #D8F68B #8BF6DE
split-complementary
#A98BF6 #F6DE8B #A3F68B
monochromatic
#5519ED #7F52F2 #A98BF6 #D3C4FA #EAE3FD

Accessibility & contrast

On white

2.72
#A98BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A98BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98BF6
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98BF6#FFFFFF#000000##000000
##A98BF61.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFA
Deuteranopia (green-blind)
#6F9BF3
Tritanopia (blue-blind)
#989FB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98bf6;
/* rgb */ color: rgb(169, 139, 246);
/* oklch */ color: oklch(70.9% 0.154 295.1);
Tailwind
colors: {
  custom: {
    50: '#c5adf9',
    500: '#a98bf6',
    950: '#000000',
  },
}
SCSS
$custom: #a98bf6;
$custom-light: #c5adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a98bf6",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 256.822,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70857,
    "c": 0.15409,
    "h": 295.1
  },
  "luminance": 0.33554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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