#A98FF8#A98FF8

#A98FF8 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.7% C 0.151 H 293.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A98FF8
RGBrgb(169, 143, 248)
HSLhsl(255, 88%, 77%)
HSVhsv(255, 42%, 97%)
CMYKcmyk(31.9%, 42.3%, 0%, 2.7%)
CIE-LABlab(65.64, 32.32, -49.17)
CIE-LCHlch(65.64, 58.84, 303.32°)
OKLaboklab(71.67% 0.0604 -0.138)
OKLCHoklch(71.67% 0.151 293.6)
XYZxyz(43.1236, 34.8565, 93.2447)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98FF8 #DEF88F
analogous
#8FAAF8 #A98FF8 #DE8FF8
triadic
#A98FF8 #F8A98F #8FF8A9
tetradic
#A98FF8 #F88FAA #DEF88F #8FF8DE
square
#A98FF8 #F88FAA #DEF88F #8FF8DE
split-complementary
#A98FF8 #F8DE8F #AAF88F
monochromatic
#511CF1 #7D55F4 #A98FF8 #D5C9FC #E9E2FD

Accessibility & contrast

On white

2.63
#A98FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A98FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98FF8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98FF8#FFFFFF#000000##000000
##A98FF81.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FC
Deuteranopia (green-blind)
#729EF5
Tritanopia (blue-blind)
#97A2B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a98ff8;
/* rgb */ color: rgb(169, 143, 248);
/* oklch */ color: oklch(71.7% 0.151 293.6);
Tailwind
colors: {
  custom: {
    50: '#c5b0fb',
    500: '#a98ff8',
    950: '#000000',
  },
}
SCSS
$custom: #a98ff8;
$custom-light: #c5b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ff8",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 254.857,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71667,
    "c": 0.15064,
    "h": 293.6
  },
  "luminance": 0.34857
}

Semantic roles & 50–950 ramp

primary
#A98FF8
secondary
#EDF5D6
accent
#E501AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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