#A98AFF#A98AFF

#A98AFF is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.2% C 0.167 H 293.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A98AFF
RGBrgb(169, 138, 255)
HSLhsl(256, 100%, 77%)
HSVhsv(256, 46%, 100%)
CMYKcmyk(33.7%, 45.9%, 0%, 0%)
CIE-LABlab(64.83, 36.91, -54.28)
CIE-LCHlch(64.83, 65.64, 304.21°)
OKLaboklab(71.17% 0.0679 -0.1529)
OKLCHoklch(71.17% 0.167 293.9)
XYZxyz(43.4960, 33.8312, 98.8268)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98AFF #E0FF8A
analogous
#8AA6FF #A98AFF #E38AFF
triadic
#A98AFF #FFA98A #8AFFA9
tetradic
#A98AFF #FF8AA6 #E0FF8A #8AFFE3
square
#A98AFF #FF8AA6 #E0FF8A #8AFFE3
split-complementary
#A98AFF #FFE38A #A6FF8A
monochromatic
#4F10FF #7C4DFF #A98AFF #D6C7FF #E9E0FF

Accessibility & contrast

On white

2.70
#A98AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A98AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98AFF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98AFF#FFFFFF#000000##000000
##A98AFF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629FFF
Deuteranopia (green-blind)
#679BFC
Tritanopia (blue-blind)
#95A0B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98aff;
/* rgb */ color: rgb(169, 138, 255);
/* oklch */ color: oklch(71.2% 0.167 293.9);
Tailwind
colors: {
  custom: {
    50: '#c6acff',
    500: '#a98aff',
    950: '#000000',
  },
}
SCSS
$custom: #a98aff;
$custom-light: #c6acff;
$custom-dark: #000000;
JSON
{
  "hex": "#a98aff",
  "rgb": {
    "r": 169,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 255.897,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.16729,
    "h": 293.9
  },
  "luminance": 0.33832
}

Semantic roles & 50–950 ramp

primary
#A98AFF
secondary
#EEF7D4
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A98AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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