#A98AF3#A98AF3

#A98AF3 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.5% C 0.152 H 295.9°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A98AF3
RGBrgb(169, 138, 243)
HSLhsl(258, 81%, 75%)
HSVhsv(258, 43%, 95%)
CMYKcmyk(30.5%, 43.2%, 0%, 4.7%)
CIE-LABlab(64.23, 33.89, -48.65)
CIE-LCHlch(64.23, 59.29, 304.86°)
OKLaboklab(70.52% 0.0662 -0.1365)
OKLCHoklch(70.52% 0.152 295.9)
XYZxyz(41.6244, 33.0825, 88.9692)
Luminance0.3308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98AF3 #D4F38A
analogous
#8AA0F3 #A98AF3 #DD8AF3
triadic
#A98AF3 #F3A98A #8AF3A9
tetradic
#A98AF3 #F38AA0 #D4F38A #8AF3DD
square
#A98AF3 #F38AA0 #D4F38A #8AF3DD
split-complementary
#A98AF3 #F3DD8A #A0F38A
monochromatic
#571BE8 #8052ED #A98AF3 #D2C2F9 #EBE3FC

Accessibility & contrast

On white

2.76
#A98AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A98AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98AF3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98AF3#FFFFFF#000000##000000
##A98AF31.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF7
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#999DB3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a98af3;
/* rgb */ color: rgb(169, 138, 243);
/* oklch */ color: oklch(70.5% 0.152 295.9);
Tailwind
colors: {
  custom: {
    50: '#c5acf7',
    500: '#a98af3',
    950: '#000000',
  },
}
SCSS
$custom: #a98af3;
$custom-light: #c5acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a98af3",
  "rgb": {
    "r": 169,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 257.714,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.1517,
    "h": 295.9
  },
  "luminance": 0.33083
}

Semantic roles & 50–950 ramp

primary
#A98AF3
secondary
#EBF4D7
accent
#DE089F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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