#A98EF3#A98EF3

#A98EF3 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.2% C 0.146 H 294.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A98EF3
RGBrgb(169, 142, 243)
HSLhsl(256, 81%, 75%)
HSVhsv(256, 42%, 95%)
CMYKcmyk(30.5%, 41.6%, 0%, 4.7%)
CIE-LABlab(65.16, 31.63, -47.18)
CIE-LCHlch(65.16, 56.80, 303.84°)
OKLaboklab(71.23% 0.0609 -0.1322)
OKLCHoklch(71.23% 0.146 294.7)
XYZxyz(42.2088, 34.2514, 89.1640)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EF3 #D8F38E
analogous
#8EA5F3 #A98EF3 #DC8EF3
triadic
#A98EF3 #F3A98E #8EF3A9
tetradic
#A98EF3 #F38EA5 #D8F38E #8EF3DC
square
#A98EF3 #F38EA5 #D8F38E #8EF3DC
split-complementary
#A98EF3 #F3DC8E #A5F38E
monochromatic
#551FE7 #7F57ED #A98EF3 #D3C5F9 #EAE3FC

Accessibility & contrast

On white

2.68
#A98EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A98EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EF3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EF3#FFFFFF#000000##000000
##A98EF31.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF7
Deuteranopia (green-blind)
#749DF0
Tritanopia (blue-blind)
#99A0B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98ef3;
/* rgb */ color: rgb(169, 142, 243);
/* oklch */ color: oklch(71.2% 0.146 294.7);
Tailwind
colors: {
  custom: {
    50: '#c5aff7',
    500: '#a98ef3',
    950: '#000000',
  },
}
SCSS
$custom: #a98ef3;
$custom-light: #c5aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ef3",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 256.04,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71229,
    "c": 0.14556,
    "h": 294.7
  },
  "luminance": 0.34252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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