#A98FEB#A98FEB

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

Color values

HEX#A98FEB
RGBrgb(169, 143, 235)
HSLhsl(257, 70%, 74%)
HSVhsv(257, 39%, 92%)
CMYKcmyk(28.1%, 39.1%, 0%, 7.8%)
CIE-LABlab(65.02, 29.09, -42.99)
CIE-LCHlch(65.02, 51.91, 304.08°)
OKLaboklab(71% 0.0581 -0.1201)
OKLCHoklch(71% 0.133 295.8)
XYZxyz(41.1764, 34.0776, 82.9894)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98FEB #D1EB8F
analogous
#8FA3EB #A98FEB #D78FEB
triadic
#A98FEB #EBA98F #8FEBA9
tetradic
#A98FEB #EB8FA3 #D1EB8F #8FEBD7
square
#A98FEB #EB8FA3 #D1EB8F #8FEBD7
split-complementary
#A98FEB #EBD78F #A3EB8F
monochromatic
#5927D8 #815BE2 #A98FEB #D1C3F4 #EBE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98FEB#FFFFFF#000000##000000
##A98FEB1.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)
#759EEF
Deuteranopia (green-blind)
#799DE9
Tritanopia (blue-blind)
#9B9FB2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98feb;
/* rgb */ color: rgb(169, 143, 235);
/* oklch */ color: oklch(71.0% 0.133 295.8);
Tailwind
colors: {
  custom: {
    50: '#c4b0f2',
    500: '#a98feb',
    950: '#000000',
  },
}
SCSS
$custom: #a98feb;
$custom-light: #c4b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a98feb",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 256.957,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71002,
    "c": 0.13338,
    "h": 295.8
  },
  "luminance": 0.34078
}

Semantic roles & 50–950 ramp

primary
#A98FEB
secondary
#EBF2D9
accent
#D2149C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A98FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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