#A98BFE#A98BFE

#A98BFE is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.3% C 0.165 H 293.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A98BFE
RGBrgb(169, 139, 254)
HSLhsl(256, 98%, 77%)
HSVhsv(256, 45%, 100%)
CMYKcmyk(33.5%, 45.3%, 0%, 0.4%)
CIE-LABlab(65.01, 36.09, -53.45)
CIE-LCHlch(65.01, 64.50, 304.03°)
OKLaboklab(71.29% 0.0665 -0.1505)
OKLCHoklch(71.29% 0.165 293.8)
XYZxyz(43.4796, 34.0552, 98.0293)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98BFE #E0FE8B
analogous
#8BA7FE #A98BFE #E38BFE
triadic
#A98BFE #FEA98B #8BFEA9
tetradic
#A98BFE #FE8BA7 #E0FE8B #8BFEE3
square
#A98BFE #FE8BA7 #E0FE8B #8BFEE3
split-complementary
#A98BFE #FEE38B #A7FE8B
monochromatic
#4F12FD #7C4EFD #A98BFE #D6C8FF #E9E1FF

Accessibility & contrast

On white

2.69
#A98BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A98BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98BFE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98BFE#FFFFFF#000000##000000
##A98BFE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#699CFB
Tritanopia (blue-blind)
#95A1B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98bfe;
/* rgb */ color: rgb(169, 139, 254);
/* oklch */ color: oklch(71.3% 0.165 293.8);
Tailwind
colors: {
  custom: {
    50: '#c6adff',
    500: '#a98bfe',
    950: '#000000',
  },
}
SCSS
$custom: #a98bfe;
$custom-light: #c6adff;
$custom-dark: #000000;
JSON
{
  "hex": "#a98bfe",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 255.652,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71288,
    "c": 0.16451,
    "h": 293.8
  },
  "luminance": 0.34056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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