#A98CF4#A98CF4

#A98CF4 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.9% C 0.150 H 295.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A98CF4
RGBrgb(169, 140, 244)
HSLhsl(257, 83%, 75%)
HSVhsv(257, 43%, 96%)
CMYKcmyk(30.7%, 42.6%, 0%, 4.3%)
CIE-LABlab(64.74, 33.01, -48.39)
CIE-LCHlch(64.74, 58.58, 304.30°)
OKLaboklab(70.93% 0.0637 -0.1357)
OKLCHoklch(70.93% 0.15 295.1)
XYZxyz(42.0654, 33.7222, 89.8632)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CF4 #D7F48C
analogous
#8CA3F4 #A98CF4 #DD8CF4
triadic
#A98CF4 #F4A98C #8CF4A9
tetradic
#A98CF4 #F48CA3 #D7F48C #8CF4DD
square
#A98CF4 #F48CA3 #D7F48C #8CF4DD
split-complementary
#A98CF4 #F4DD8C #A3F48C
monochromatic
#551CE9 #7F54EF #A98CF4 #D3C4F9 #EAE3FC

Accessibility & contrast

On white

2.71
#A98CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A98CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CF4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CF4#FFFFFF#000000##000000
##A98CF41.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF8
Deuteranopia (green-blind)
#719CF1
Tritanopia (blue-blind)
#999FB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98cf4;
/* rgb */ color: rgb(169, 140, 244);
/* oklch */ color: oklch(70.9% 0.150 295.1);
Tailwind
colors: {
  custom: {
    50: '#c5aef8',
    500: '#a98cf4',
    950: '#000000',
  },
}
SCSS
$custom: #a98cf4;
$custom-light: #c5aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#a98cf4",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 256.731,
    "s": 82.54,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70927,
    "c": 0.14994,
    "h": 295.1
  },
  "luminance": 0.33723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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