#A978F7#A978F7

#A978F7 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.184 H 299.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A978F7
RGBrgb(169, 120, 247)
HSLhsl(263, 89%, 72%)
HSVhsv(263, 51%, 97%)
CMYKcmyk(31.6%, 51.4%, 0%, 3.1%)
CIE-LABlab(60.41, 44.91, -56.92)
CIE-LCHlch(60.41, 72.50, 308.27°)
OKLaboklab(67.74% 0.09 -0.1606)
OKLCHoklch(67.74% 0.184 299.3)
XYZxyz(39.8631, 28.5830, 91.3946)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978F7 #C6F778
analogous
#7887F7 #A978F7 #E978F7
triadic
#A978F7 #F7A978 #78F7A9
tetradic
#A978F7 #F77887 #C6F778 #78F7E9
square
#A978F7 #F77887 #C6F778 #78F7E9
split-complementary
#A978F7 #F7E978 #87F778
monochromatic
#610EE7 #843EF4 #A978F7 #CEB2FA #EDE2FD

Accessibility & contrast

On white

3.13
#A978F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A978F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978F7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978F7#FFFFFF#000000##000000
##A978F71.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#9990AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a978f7;
/* rgb */ color: rgb(169, 120, 247);
/* oklch */ color: oklch(67.7% 0.184 299.3);
Tailwind
colors: {
  custom: {
    50: '#c6a0fa',
    500: '#a978f7',
    950: '#000000',
  },
}
SCSS
$custom: #a978f7;
$custom-light: #c6a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a978f7",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 263.15,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67735,
    "c": 0.18409,
    "h": 299.3
  },
  "luminance": 0.28583
}

Semantic roles & 50–950 ramp

primary
#A978F7
secondary
#E9F5D5
accent
#E5008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A978F7

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

Preview Lab → · Contrast checker → · Palette generator →

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