#A98FFB#A98FFB

#A98FFB is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.8% C 0.155 H 293.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A98FFB
RGBrgb(169, 143, 251)
HSLhsl(254, 93%, 77%)
HSVhsv(254, 43%, 98%)
CMYKcmyk(32.7%, 43%, 0%, 1.6%)
CIE-LABlab(65.78, 33.08, -50.58)
CIE-LCHlch(65.78, 60.44, 303.18°)
OKLaboklab(71.83% 0.0609 -0.1421)
OKLCHoklch(71.83% 0.155 293.2)
XYZxyz(43.5928, 35.0441, 95.7155)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98FFB #E1FB8F
analogous
#8FABFB #A98FFB #DF8FFB
triadic
#A98FFB #FBA98F #8FFBA9
tetradic
#A98FFB #FB8FAB #E1FB8F #8FFBDF
square
#A98FFB #FB8FAB #E1FB8F #8FFBDF
split-complementary
#A98FFB #FBDF8F #ABFB8F
monochromatic
#4E19F7 #7C54F9 #A98FFB #D6CAFD #E8E1FE

Accessibility & contrast

On white

2.62
#A98FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#A98FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98FFB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98FFB#FFFFFF#000000##000000
##A98FFB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#96A3B9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a98ffb;
/* rgb */ color: rgb(169, 143, 251);
/* oklch */ color: oklch(71.8% 0.155 293.2);
Tailwind
colors: {
  custom: {
    50: '#c5b0fd',
    500: '#a98ffb',
    950: '#000000',
  },
}
SCSS
$custom: #a98ffb;
$custom-light: #c5b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ffb",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 254.444,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71825,
    "c": 0.1546,
    "h": 293.2
  },
  "luminance": 0.35045
}

Semantic roles & 50–950 ramp

primary
#A98FFB
secondary
#EEF6D5
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A98FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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