#A978FF#A978FF

#A978FF is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.194 H 297.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A978FF
RGBrgb(169, 120, 255)
HSLhsl(262, 100%, 74%)
HSVhsv(262, 53%, 100%)
CMYKcmyk(33.7%, 52.9%, 0%, 0%)
CIE-LABlab(60.86, 46.88, -60.61)
CIE-LCHlch(60.86, 76.63, 307.72°)
OKLaboklab(68.21% 0.0904 -0.1714)
OKLCHoklch(68.21% 0.194 297.8)
XYZxyz(41.1242, 29.0875, 98.0362)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978FF #CEFF78
analogous
#788AFF #A978FF #ED78FF
triadic
#A978FF #FFA978 #78FFA9
tetradic
#A978FF #FF788A #CEFF78 #78FFED
square
#A978FF #FF788A #CEFF78 #78FFED
split-complementary
#A978FF #FFED78 #8AFF78
monochromatic
#5C00FD #823BFF #A978FF #D0B5FF #ECE0FF

Accessibility & contrast

On white

3.08
#A978FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A978FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978FF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978FF#FFFFFF#000000##000000
##A978FF1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#5091FC
Tritanopia (blue-blind)
#9693B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a978ff;
/* rgb */ color: rgb(169, 120, 255);
/* oklch */ color: oklch(68.2% 0.194 297.8);
Tailwind
colors: {
  custom: {
    50: '#c7a0ff',
    500: '#a978ff',
    950: '#000000',
  },
}
SCSS
$custom: #a978ff;
$custom-light: #c7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a978ff",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 261.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6821,
    "c": 0.19381,
    "h": 297.8
  },
  "luminance": 0.29088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A978FF

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

Preview Lab → · Contrast checker → · Palette generator →

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