#A978EB#A978EB

#A978EB is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.0% C 0.169 H 301.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A978EB
RGBrgb(169, 120, 235)
HSLhsl(266, 74%, 70%)
HSVhsv(266, 49%, 92%)
CMYKcmyk(28.1%, 48.9%, 0%, 7.8%)
CIE-LABlab(59.77, 41.99, -51.29)
CIE-LCHlch(59.77, 66.29, 309.30°)
OKLaboklab(67.05% 0.089 -0.1442)
OKLCHoklch(67.05% 0.169 301.7)
XYZxyz(38.0706, 27.8660, 81.9542)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978EB #BAEB78
analogous
#7881EB #A978EB #E378EB
triadic
#A978EB #EBA978 #78EBA9
tetradic
#A978EB #EB7881 #BAEB78 #78EBE3
square
#A978EB #EB7881 #BAEB78 #78EBE3
split-complementary
#A978EB #EBE378 #81EB78
monochromatic
#681ECB #8743E3 #A978EB #CBADF3 #EDE3FB

Accessibility & contrast

On white

3.19
#A978EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#A978EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978EB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978EB#FFFFFF#000000##000000
##A978EB1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#6090E8
Tritanopia (blue-blind)
#9D8DA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a978eb;
/* rgb */ color: rgb(169, 120, 235);
/* oklch */ color: oklch(67.0% 0.169 301.7);
Tailwind
colors: {
  custom: {
    50: '#c5a0f2',
    500: '#a978eb',
    950: '#000000',
  },
}
SCSS
$custom: #a978eb;
$custom-light: #c5a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a978eb",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 265.565,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67047,
    "c": 0.16941,
    "h": 301.7
  },
  "luminance": 0.27866
}

Semantic roles & 50–950 ramp

primary
#A978EB
secondary
#E2F0CF
accent
#D60F81
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A978EB

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

Preview Lab → · Contrast checker → · Palette generator →

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