#A978FC#A978FC

#A978FC is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.190 H 298.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A978FC
RGBrgb(169, 120, 252)
HSLhsl(262, 96%, 73%)
HSVhsv(262, 52%, 99%)
CMYKcmyk(32.9%, 52.4%, 0%, 1.2%)
CIE-LABlab(60.69, 46.14, -59.23)
CIE-LCHlch(60.69, 75.08, 307.92°)
OKLaboklab(68.03% 0.0903 -0.1674)
OKLCHoklch(68.03% 0.19 298.3)
XYZxyz(40.6450, 28.8958, 95.5127)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978FC #CBFC78
analogous
#7889FC #A978FC #EB78FC
triadic
#A978FC #FCA978 #78FCA9
tetradic
#A978FC #FC7889 #CBFC78 #78FCEB
square
#A978FC #FC7889 #CBFC78 #78FCEB
split-complementary
#A978FC #FCEB78 #89FC78
monochromatic
#5E05F4 #833CFB #A978FC #CFB4FD #ECE1FE

Accessibility & contrast

On white

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

On black

6.78
#A978FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978FC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978FC#FFFFFF#000000##000000
##A978FC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#9792AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a978fc;
/* rgb */ color: rgb(169, 120, 252);
/* oklch */ color: oklch(68.0% 0.190 298.3);
Tailwind
colors: {
  custom: {
    50: '#c6a0fe',
    500: '#a978fc',
    950: '#000000',
  },
}
SCSS
$custom: #a978fc;
$custom-light: #c6a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a978fc",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 262.273,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6803,
    "c": 0.19017,
    "h": 298.3
  },
  "luminance": 0.28896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A978FC

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

Preview Lab → · Contrast checker → · Palette generator →

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