#A98CF6#A98CF6

#A98CF6 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.0% C 0.153 H 294.8°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A98CF6
RGBrgb(169, 140, 246)
HSLhsl(256, 85%, 76%)
HSVhsv(256, 43%, 96%)
CMYKcmyk(31.3%, 43.1%, 0%, 3.5%)
CIE-LABlab(64.84, 33.51, -49.34)
CIE-LCHlch(64.84, 59.64, 304.19°)
OKLaboklab(71.03% 0.064 -0.1385)
OKLCHoklch(71.03% 0.153 294.8)
XYZxyz(42.3707, 33.8443, 91.4712)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CF6 #D9F68C
analogous
#8CA4F6 #A98CF6 #DE8CF6
triadic
#A98CF6 #F6A98C #8CF6A9
tetradic
#A98CF6 #F68CA4 #D9F68C #8CF6DE
square
#A98CF6 #F68CA4 #D9F68C #8CF6DE
split-complementary
#A98CF6 #F6DE8C #A4F68C
monochromatic
#541AED #7F53F2 #A98CF6 #D3C5FA #EAE3FD

Accessibility & contrast

On white

2.70
#A98CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A98CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CF6
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CF6#FFFFFF#000000##000000
##A98CF61.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFA
Deuteranopia (green-blind)
#709CF3
Tritanopia (blue-blind)
#989FB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a98cf6;
/* rgb */ color: rgb(169, 140, 246);
/* oklch */ color: oklch(71.0% 0.153 294.8);
Tailwind
colors: {
  custom: {
    50: '#c5aef9',
    500: '#a98cf6',
    950: '#000000',
  },
}
SCSS
$custom: #a98cf6;
$custom-light: #c5aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#a98cf6",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 256.415,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71032,
    "c": 0.15256,
    "h": 294.8
  },
  "luminance": 0.33845
}

Semantic roles & 50–950 ramp

primary
#A98CF6
secondary
#ECF5D6
accent
#E204A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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