#A978FE#A978FE

#A978FE is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.2% C 0.193 H 298.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A978FE
RGBrgb(169, 120, 254)
HSLhsl(262, 99%, 73%)
HSVhsv(262, 53%, 100%)
CMYKcmyk(33.5%, 52.8%, 0%, 0.4%)
CIE-LABlab(60.80, 46.64, -60.15)
CIE-LCHlch(60.80, 76.11, 307.79°)
OKLaboklab(68.15% 0.0904 -0.1701)
OKLCHoklch(68.15% 0.193 298)
XYZxyz(40.9636, 29.0232, 97.1906)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978FE #CDFE78
analogous
#788AFE #A978FE #EC78FE
triadic
#A978FE #FEA978 #78FEA9
tetradic
#A978FE #FE788A #CDFE78 #78FEEC
square
#A978FE #FE788A #CDFE78 #78FEEC
split-complementary
#A978FE #FEEC78 #8AFE78
monochromatic
#5C02FA #823BFE #A978FE #D0B5FE #ECE1FF

Accessibility & contrast

On white

3.09
#A978FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#A978FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978FE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978FE#FFFFFF#000000##000000
##A978FE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#5191FB
Tritanopia (blue-blind)
#9693B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a978fe;
/* rgb */ color: rgb(169, 120, 254);
/* oklch */ color: oklch(68.2% 0.193 298.0);
Tailwind
colors: {
  custom: {
    50: '#c6a0ff',
    500: '#a978fe',
    950: '#000000',
  },
}
SCSS
$custom: #a978fe;
$custom-light: #c6a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a978fe",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 261.94,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6815,
    "c": 0.1926,
    "h": 298
  },
  "luminance": 0.29024
}

Semantic roles & 50–950 ramp

primary
#A978FE
secondary
#EAF7D4
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A978FE

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

Preview Lab → · Contrast checker → · Palette generator →

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