#A98FFE#A98FFE

#A98FFE is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.0% C 0.159 H 292.7°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A98FFE
RGBrgb(169, 143, 254)
HSLhsl(254, 98%, 78%)
HSVhsv(254, 44%, 100%)
CMYKcmyk(33.5%, 43.7%, 0%, 0.4%)
CIE-LABlab(65.93, 33.84, -51.99)
CIE-LCHlch(65.93, 62.03, 303.06°)
OKLaboklab(71.99% 0.0613 -0.1462)
OKLCHoklch(71.99% 0.159 292.7)
XYZxyz(44.0694, 35.2348, 98.2259)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98FFE #E4FE8F
analogous
#8FACFE #A98FFE #E08FFE
triadic
#A98FFE #FEA98F #8FFEA9
tetradic
#A98FFE #FE8FAC #E4FE8F #8FFEE0
square
#A98FFE #FE8FAC #E4FE8F #8FFEE0
split-complementary
#A98FFE #FEE08F #ACFE8F
monochromatic
#4C16FD #7A52FD #A98FFE #D8CCFF #E8E1FF

Accessibility & contrast

On white

2.61
#A98FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A98FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98FFE
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98FFE#FFFFFF#000000##000000
##A98FFE1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#95A4BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a98ffe;
/* rgb */ color: rgb(169, 143, 254);
/* oklch */ color: oklch(72.0% 0.159 292.7);
Tailwind
colors: {
  custom: {
    50: '#c5b0ff',
    500: '#a98ffe',
    950: '#000000',
  },
}
SCSS
$custom: #a98ffe;
$custom-light: #c5b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ffe",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 254.054,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.71985,
    "c": 0.15854,
    "h": 292.7
  },
  "luminance": 0.35236
}

Semantic roles & 50–950 ramp

primary
#A98FFE
secondary
#EFF7D4
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A98FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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