#A98BFA#A98BFA

#A98BFA is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.1% C 0.159 H 294.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A98BFA
RGBrgb(169, 139, 250)
HSLhsl(256, 92%, 76%)
HSVhsv(256, 44%, 98%)
CMYKcmyk(32.4%, 44.4%, 0%, 2%)
CIE-LABlab(64.80, 35.08, -51.58)
CIE-LCHlch(64.80, 62.38, 304.22°)
OKLaboklab(71.07% 0.0659 -0.145)
OKLCHoklch(71.07% 0.159 294.4)
XYZxyz(42.8458, 33.8016, 94.6910)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98BFA #DCFA8B
analogous
#8BA5FA #A98BFA #E18BFA
triadic
#A98BFA #FAA98B #8BFAA9
tetradic
#A98BFA #FA8BA5 #DCFA8B #8BFAE1
square
#A98BFA #FA8BA5 #DCFA8B #8BFAE1
split-complementary
#A98BFA #FAE18B #A5FA8B
monochromatic
#5216F5 #7E50F7 #A98BFA #D4C6FD #E9E2FE

Accessibility & contrast

On white

2.71
#A98BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A98BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98BFA
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98BFA#FFFFFF#000000##000000
##A98BFA1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#97A0B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98bfa;
/* rgb */ color: rgb(169, 139, 250);
/* oklch */ color: oklch(71.1% 0.159 294.4);
Tailwind
colors: {
  custom: {
    50: '#c5adfc',
    500: '#a98bfa',
    950: '#000000',
  },
}
SCSS
$custom: #a98bfa;
$custom-light: #c5adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a98bfa",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 256.216,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.1593,
    "h": 294.4
  },
  "luminance": 0.33802
}

Semantic roles & 50–950 ramp

primary
#A98BFA
secondary
#EDF6D5
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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