#A978FB#A978FB

#A978FB is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.0% C 0.189 H 298.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A978FB
RGBrgb(169, 120, 251)
HSLhsl(262, 94%, 73%)
HSVhsv(262, 52%, 98%)
CMYKcmyk(32.7%, 52.2%, 0%, 1.6%)
CIE-LABlab(60.63, 45.89, -58.77)
CIE-LCHlch(60.63, 74.56, 307.99°)
OKLaboklab(67.97% 0.0902 -0.166)
OKLCHoklch(67.97% 0.189 298.5)
XYZxyz(40.4870, 28.8326, 94.6803)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978FB #CAFB78
analogous
#7888FB #A978FB #EB78FB
triadic
#A978FB #FBA978 #78FBA9
tetradic
#A978FB #FB7888 #CAFB78 #78FBEB
square
#A978FB #FB7888 #CAFB78 #78FBEB
split-complementary
#A978FB #FBEB78 #88FB78
monochromatic
#5F07F1 #833DF9 #A978FB #CFB3FD #ECE1FE

Accessibility & contrast

On white

3.10
#A978FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A978FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978FB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978FB#FFFFFF#000000##000000
##A978FB1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#9792AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a978fb;
/* rgb */ color: rgb(169, 120, 251);
/* oklch */ color: oklch(68.0% 0.189 298.5);
Tailwind
colors: {
  custom: {
    50: '#c6a0fd',
    500: '#a978fb',
    950: '#000000',
  },
}
SCSS
$custom: #a978fb;
$custom-light: #c6a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a978fb",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 262.443,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67971,
    "c": 0.18896,
    "h": 298.5
  },
  "luminance": 0.28833
}

Semantic roles & 50–950 ramp

primary
#A978FB
secondary
#EAF6D5
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A978FB

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

Preview Lab → · Contrast checker → · Palette generator →

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