#A98CFA#A98CFA

#A98CFA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.2% C 0.158 H 294.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A98CFA
RGBrgb(169, 140, 250)
HSLhsl(256, 92%, 76%)
HSVhsv(256, 44%, 98%)
CMYKcmyk(32.4%, 44%, 0%, 2%)
CIE-LABlab(65.04, 34.52, -51.22)
CIE-LCHlch(65.04, 61.76, 303.98°)
OKLaboklab(71.25% 0.0646 -0.144)
OKLCHoklch(71.25% 0.158 294.2)
XYZxyz(42.9912, 34.0926, 94.7394)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CFA #DDFA8C
analogous
#8CA6FA #A98CFA #E08CFA
triadic
#A98CFA #FAA98C #8CFAA9
tetradic
#A98CFA #FA8CA6 #DDFA8C #8CFAE0
square
#A98CFA #FA8CA6 #DDFA8C #8CFAE0
split-complementary
#A98CFA #FAE08C #A6FA8C
monochromatic
#5117F5 #7D51F7 #A98CFA #D5C7FD #E9E2FE

Accessibility & contrast

On white

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

On black

7.82
#A98CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CFA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CFA#FFFFFF#000000##000000
##A98CFA1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#6D9CF7
Tritanopia (blue-blind)
#96A1B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98cfa;
/* rgb */ color: rgb(169, 140, 250);
/* oklch */ color: oklch(71.2% 0.158 294.2);
Tailwind
colors: {
  custom: {
    50: '#c5aefc',
    500: '#a98cfa',
    950: '#000000',
  },
}
SCSS
$custom: #a98cfa;
$custom-light: #c5aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a98cfa",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 255.818,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71245,
    "c": 0.1578,
    "h": 294.2
  },
  "luminance": 0.34093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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