#A98EF4#A98EF4

#A98EF4 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.3% C 0.147 H 294.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A98EF4
RGBrgb(169, 142, 244)
HSLhsl(256, 82%, 76%)
HSVhsv(256, 42%, 96%)
CMYKcmyk(30.7%, 41.8%, 0%, 4.3%)
CIE-LABlab(65.21, 31.88, -47.65)
CIE-LCHlch(65.21, 57.34, 303.78°)
OKLaboklab(71.28% 0.0611 -0.1336)
OKLCHoklch(71.28% 0.147 294.6)
XYZxyz(42.3603, 34.3120, 89.9615)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EF4 #D9F48E
analogous
#8EA6F4 #A98EF4 #DC8EF4
triadic
#A98EF4 #F4A98E #8EF4A9
tetradic
#A98EF4 #F48EA6 #D9F48E #8EF4DC
square
#A98EF4 #F48EA6 #D9F48E #8EF4DC
split-complementary
#A98EF4 #F4DC8E #A6F48E
monochromatic
#541EE9 #7F56EF #A98EF4 #D3C6F9 #EAE3FC

Accessibility & contrast

On white

2.67
#A98EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A98EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EF4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EF4#FFFFFF#000000##000000
##A98EF41.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF8
Deuteranopia (green-blind)
#739DF1
Tritanopia (blue-blind)
#98A1B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98ef4;
/* rgb */ color: rgb(169, 142, 244);
/* oklch */ color: oklch(71.3% 0.147 294.6);
Tailwind
colors: {
  custom: {
    50: '#c5aff8',
    500: '#a98ef4',
    950: '#000000',
  },
}
SCSS
$custom: #a98ef4;
$custom-light: #c5aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ef4",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 255.882,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71281,
    "c": 0.14687,
    "h": 294.6
  },
  "luminance": 0.34313
}

Semantic roles & 50–950 ramp

primary
#A98EF4
secondary
#ECF4D7
accent
#DF07A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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