#A98CFD#A98CFD

#A98CFD is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.4% C 0.162 H 293.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A98CFD
RGBrgb(169, 140, 253)
HSLhsl(255, 97%, 77%)
HSVhsv(255, 45%, 99%)
CMYKcmyk(33.2%, 44.7%, 0%, 0.8%)
CIE-LABlab(65.19, 35.28, -52.62)
CIE-LCHlch(65.19, 63.35, 303.84°)
OKLaboklab(71.41% 0.065 -0.1481)
OKLCHoklch(71.41% 0.162 293.7)
XYZxyz(43.4654, 34.2822, 97.2366)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98CFD #E0FD8C
analogous
#8CA8FD #A98CFD #E18CFD
triadic
#A98CFD #FDA98C #8CFDA9
tetradic
#A98CFD #FD8CA8 #E0FD8C #8CFDE1
square
#A98CFD #FD8CA8 #E0FD8C #8CFDE1
split-complementary
#A98CFD #FDE18C #A8FD8C
monochromatic
#4F14FB #7C50FC #A98CFD #D6C8FE #E9E1FE

Accessibility & contrast

On white

2.67
#A98CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A98CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98CFD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98CFD#FFFFFF#000000##000000
##A98CFD1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#95A1B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a98cfd;
/* rgb */ color: rgb(169, 140, 253);
/* oklch */ color: oklch(71.4% 0.162 293.7);
Tailwind
colors: {
  custom: {
    50: '#c6aefe',
    500: '#a98cfd',
    950: '#000000',
  },
}
SCSS
$custom: #a98cfd;
$custom-light: #c6aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#a98cfd",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 255.398,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71407,
    "c": 0.16172,
    "h": 293.7
  },
  "luminance": 0.34283
}

Semantic roles & 50–950 ramp

primary
#A98CFD
secondary
#EEF7D4
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A98CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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