#A98EF2#A98EF2

#A98EF2 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.144 H 294.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#A98EF2
RGBrgb(169, 142, 242)
HSLhsl(256, 79%, 75%)
HSVhsv(256, 41%, 95%)
CMYKcmyk(30.2%, 41.3%, 0%, 5.1%)
CIE-LABlab(65.11, 31.38, -46.71)
CIE-LCHlch(65.11, 56.27, 303.90°)
OKLaboklab(71.18% 0.0607 -0.1308)
OKLCHoklch(71.18% 0.144 294.9)
XYZxyz(42.0582, 34.1912, 88.3709)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98EF2 #D7F28E
analogous
#8EA5F2 #A98EF2 #DB8EF2
triadic
#A98EF2 #F2A98E #8EF2A9
tetradic
#A98EF2 #F28EA5 #D7F28E #8EF2DB
square
#A98EF2 #F28EA5 #D7F28E #8EF2DB
split-complementary
#A98EF2 #F2DB8E #A5F28E
monochromatic
#5520E5 #7F57EC #A98EF2 #D3C5F8 #EAE4FC

Accessibility & contrast

On white

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

On black

7.84
#A98EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98EF2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98EF2#FFFFFF#000000##000000
##A98EF21.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#749DEF
Tritanopia (blue-blind)
#99A0B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98ef2;
/* rgb */ color: rgb(169, 142, 242);
/* oklch */ color: oklch(71.2% 0.144 294.9);
Tailwind
colors: {
  custom: {
    50: '#c5aff7',
    500: '#a98ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a98ef2;
$custom-light: #c5aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a98ef2",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 256.2,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71177,
    "c": 0.14424,
    "h": 294.9
  },
  "luminance": 0.34192
}

Semantic roles & 50–950 ramp

primary
#A98EF2
secondary
#ECF4D7
accent
#DC0AA3
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A98EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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