#A978F6#A978F6

#A978F6 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.183 H 299.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A978F6
RGBrgb(169, 120, 246)
HSLhsl(263, 88%, 72%)
HSVhsv(263, 51%, 96%)
CMYKcmyk(31.3%, 51.2%, 0%, 3.5%)
CIE-LABlab(60.36, 44.66, -56.45)
CIE-LCHlch(60.36, 71.98, 308.35°)
OKLaboklab(67.68% 0.0899 -0.1592)
OKLCHoklch(67.68% 0.183 299.4)
XYZxyz(39.7092, 28.5215, 90.5841)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978F6 #C5F678
analogous
#7886F6 #A978F6 #E878F6
triadic
#A978F6 #F6A978 #78F6A9
tetradic
#A978F6 #F67886 #C5F678 #78F6E8
square
#A978F6 #F67886 #C5F678 #78F6E8
split-complementary
#A978F6 #F6E878 #86F678
monochromatic
#620FE4 #843FF2 #A978F6 #CEB1FA #EDE2FD

Accessibility & contrast

On white

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

On black

6.70
#A978F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978F6
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978F6#FFFFFF#000000##000000
##A978F61.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91FA
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#9990AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a978f6;
/* rgb */ color: rgb(169, 120, 246);
/* oklch */ color: oklch(67.7% 0.183 299.4);
Tailwind
colors: {
  custom: {
    50: '#c6a0fa',
    500: '#a978f6',
    950: '#000000',
  },
}
SCSS
$custom: #a978f6;
$custom-light: #c6a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a978f6",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 263.333,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67676,
    "c": 0.18287,
    "h": 299.4
  },
  "luminance": 0.28522
}

Semantic roles & 50–950 ramp

primary
#A978F6
secondary
#E8F5D5
accent
#E4018C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A978F6

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

Preview Lab → · Contrast checker → · Palette generator →

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