#A978E7#A978E7

#A978E7 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.8% C 0.165 H 302.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A978E7
RGBrgb(169, 120, 231)
HSLhsl(266, 70%, 69%)
HSVhsv(266, 48%, 91%)
CMYKcmyk(26.8%, 48.1%, 0%, 9.4%)
CIE-LABlab(59.56, 41.03, -49.40)
CIE-LCHlch(59.56, 64.21, 309.71°)
OKLaboklab(66.83% 0.0886 -0.1386)
OKLCHoklch(66.83% 0.165 302.6)
XYZxyz(37.4993, 27.6375, 78.9448)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978E7 #B6E778
analogous
#787FE7 #A978E7 #E078E7
triadic
#A978E7 #E7A978 #78E7A9
tetradic
#A978E7 #E7787F #B6E778 #78E7E0
square
#A978E7 #E7787F #B6E778 #78E7E0
split-complementary
#A978E7 #E7E078 #7FE778
monochromatic
#6923C2 #8844DE #A978E7 #CAACF0 #EBE0F9

Accessibility & contrast

On white

3.22
#A978E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A978E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978E7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978E7#FFFFFF#000000##000000
##A978E71.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578EEB
Deuteranopia (green-blind)
#638FE4
Tritanopia (blue-blind)
#9E8CA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a978e7;
/* rgb */ color: rgb(169, 120, 231);
/* oklch */ color: oklch(66.8% 0.165 302.6);
Tailwind
colors: {
  custom: {
    50: '#c5a0ef',
    500: '#a978e7',
    950: '#000000',
  },
}
SCSS
$custom: #a978e7;
$custom-light: #c5a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a978e7",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 266.486,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66825,
    "c": 0.1645,
    "h": 302.6
  },
  "luminance": 0.27637
}

Semantic roles & 50–950 ramp

primary
#A978E7
secondary
#DFEECD
accent
#D2147E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A978E7

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

Preview Lab → · Contrast checker → · Palette generator →

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