#A978F9#A978F9

#A978F9 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.187 H 298.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A978F9
RGBrgb(169, 120, 249)
HSLhsl(263, 91%, 72%)
HSVhsv(263, 52%, 98%)
CMYKcmyk(32.1%, 51.8%, 0%, 2.4%)
CIE-LABlab(60.52, 45.40, -57.84)
CIE-LCHlch(60.52, 73.53, 308.13°)
OKLaboklab(67.85% 0.0901 -0.1633)
OKLCHoklch(67.85% 0.187 298.9)
XYZxyz(40.1734, 28.7071, 93.0287)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978F9 #C8F978
analogous
#7887F9 #A978F9 #EA78F9
triadic
#A978F9 #F9A978 #78F9A9
tetradic
#A978F9 #F97887 #C8F978 #78F9EA
square
#A978F9 #F97887 #C8F978 #78F9EA
split-complementary
#A978F9 #F9EA78 #87F978
monochromatic
#600AEC #843DF6 #A978F9 #CEB3FC #ECE2FE

Accessibility & contrast

On white

3.11
#A978F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#A978F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978F9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978F9#FFFFFF#000000##000000
##A978F91.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FD
Deuteranopia (green-blind)
#5591F6
Tritanopia (blue-blind)
#9891AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a978f9;
/* rgb */ color: rgb(169, 120, 249);
/* oklch */ color: oklch(67.9% 0.187 298.9);
Tailwind
colors: {
  custom: {
    50: '#c6a0fc',
    500: '#a978f9',
    950: '#000000',
  },
}
SCSS
$custom: #a978f9;
$custom-light: #c6a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a978f9",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 262.791,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.18652,
    "h": 298.9
  },
  "luminance": 0.28708
}

Semantic roles & 50–950 ramp

primary
#A978F9
secondary
#E9F6D5
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A978F9

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

Preview Lab → · Contrast checker → · Palette generator →

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