#A98CF8#A98CF8

#A98CF8 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.1% C 0.155 H 294.5°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A98CF8
RGBrgb(169, 140, 248)
HSLhsl(256, 89%, 76%)
HSVhsv(256, 44%, 97%)
CMYKcmyk(31.9%, 43.5%, 0%, 2.7%)
CIE-LABlab(64.94, 34.01, -50.28)
CIE-LCHlch(64.94, 60.70, 304.08°)
OKLaboklab(71.14% 0.0643 -0.1412)
OKLCHoklch(71.14% 0.155 294.5)
XYZxyz(42.6793, 33.9678, 93.0966)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CF8 #DBF88C
analogous
#8CA5F8 #A98CF8 #DF8CF8
triadic
#A98CF8 #F8A98C #8CF8A9
tetradic
#A98CF8 #F88CA5 #DBF88C #8CF8DF
square
#A98CF8 #F88CA5 #DBF88C #8CF8DF
split-complementary
#A98CF8 #F8DF8C #A5F88C
monochromatic
#5319F1 #7E52F4 #A98CF8 #D4C6FC #E9E2FD

Accessibility & contrast

On white

2.69
#A98CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A98CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CF8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CF8#FFFFFF#000000##000000
##A98CF81.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#97A0B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98cf8;
/* rgb */ color: rgb(169, 140, 248);
/* oklch */ color: oklch(71.1% 0.155 294.5);
Tailwind
colors: {
  custom: {
    50: '#c5aefb',
    500: '#a98cf8',
    950: '#000000',
  },
}
SCSS
$custom: #a98cf8;
$custom-light: #c5aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#a98cf8",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 256.111,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71138,
    "c": 0.15518,
    "h": 294.5
  },
  "luminance": 0.33968
}

Semantic roles & 50–950 ramp

primary
#A98CF8
secondary
#EDF5D6
accent
#E500A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A98CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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