#A978FA#A978FA

#A978FA is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.9% C 0.188 H 298.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A978FA
RGBrgb(169, 120, 250)
HSLhsl(263, 93%, 73%)
HSVhsv(263, 52%, 98%)
CMYKcmyk(32.4%, 52%, 0%, 2%)
CIE-LABlab(60.58, 45.64, -58.31)
CIE-LCHlch(60.58, 74.05, 308.05°)
OKLaboklab(67.91% 0.0901 -0.1647)
OKLCHoklch(67.91% 0.188 298.7)
XYZxyz(40.3298, 28.7697, 93.8523)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978FA #C9FA78
analogous
#7888FA #A978FA #EA78FA
triadic
#A978FA #FAA978 #78FAA9
tetradic
#A978FA #FA7888 #C9FA78 #78FAEA
square
#A978FA #FA7888 #C9FA78 #78FAEA
split-complementary
#A978FA #FAEA78 #88FA78
monochromatic
#6009EF #833DF8 #A978FA #CFB3FC #ECE1FE

Accessibility & contrast

On white

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

On black

6.75
#A978FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978FA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978FA#FFFFFF#000000##000000
##A978FA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#9891AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a978fa;
/* rgb */ color: rgb(169, 120, 250);
/* oklch */ color: oklch(67.9% 0.188 298.7);
Tailwind
colors: {
  custom: {
    50: '#c6a0fc',
    500: '#a978fa',
    950: '#000000',
  },
}
SCSS
$custom: #a978fa;
$custom-light: #c6a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a978fa",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 262.615,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67912,
    "c": 0.18774,
    "h": 298.7
  },
  "luminance": 0.2877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A978FA

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

Preview Lab → · Contrast checker → · Palette generator →

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