#A978EF#A978EF

#A978EF is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.174 H 300.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A978EF
RGBrgb(169, 120, 239)
HSLhsl(265, 79%, 70%)
HSVhsv(265, 50%, 94%)
CMYKcmyk(29.3%, 49.8%, 0%, 6.3%)
CIE-LABlab(59.98, 42.95, -53.18)
CIE-LCHlch(59.98, 68.36, 308.93°)
OKLaboklab(67.27% 0.0893 -0.1497)
OKLCHoklch(67.27% 0.174 300.8)
XYZxyz(38.6550, 28.0998, 85.0319)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978EF #BEEF78
analogous
#7882EF #A978EF #E578EF
triadic
#A978EF #EFA978 #78EFA9
tetradic
#A978EF #EF7882 #BEEF78 #78EFE5
square
#A978EF #EF7882 #BEEF78 #78EFE5
split-complementary
#A978EF #EFE578 #82EF78
monochromatic
#6619D4 #8641E9 #A978EF #CCAFF5 #EEE4FC

Accessibility & contrast

On white

3.17
#A978EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#A978EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978EF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978EF#FFFFFF#000000##000000
##A978EF1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#9B8EA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a978ef;
/* rgb */ color: rgb(169, 120, 239);
/* oklch */ color: oklch(67.3% 0.174 300.8);
Tailwind
colors: {
  custom: {
    50: '#c5a0f5',
    500: '#a978ef',
    950: '#000000',
  },
}
SCSS
$custom: #a978ef;
$custom-light: #c5a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a978ef",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 264.706,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67273,
    "c": 0.17432,
    "h": 300.8
  },
  "luminance": 0.281
}

Semantic roles & 50–950 ramp

primary
#A978EF
secondary
#E4F2D1
accent
#DB0A85
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #A978EF

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

Preview Lab → · Contrast checker → · Palette generator →

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