#A978DA#A978DA

#A978DA is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.1% C 0.149 H 305.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A978DA
RGBrgb(169, 120, 218)
HSLhsl(270, 57%, 66%)
HSVhsv(270, 45%, 85%)
CMYKcmyk(22.5%, 45%, 0%, 14.5%)
CIE-LABlab(58.91, 37.97, -43.16)
CIE-LCHlch(58.91, 57.48, 311.35°)
OKLaboklab(66.13% 0.0869 -0.1205)
OKLCHoklch(66.13% 0.149 305.8)
XYZxyz(35.7310, 26.9302, 69.6318)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978DA #A9DA78
analogous
#7878DA #A978DA #DA78DA
triadic
#A978DA #DAA978 #78DAA9
tetradic
#A978DA #DA7878 #A9DA78 #78DADA
square
#A978DA #DA7878 #A9DA78 #78DADA
split-complementary
#A978DA #DADA78 #78DA78
monochromatic
#6C2EA9 #8A48CD #A978DA #C8A8E7 #E6D8F4

Accessibility & contrast

On white

3.29
#A978DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A978DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978DA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978DA#FFFFFF#000000##000000
##A978DA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8CDE
Deuteranopia (green-blind)
#6B8ED7
Tritanopia (blue-blind)
#A1889F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a978da;
/* rgb */ color: rgb(169, 120, 218);
/* oklch */ color: oklch(66.1% 0.149 305.8);
Tailwind
colors: {
  custom: {
    50: '#c4a0e6',
    500: '#a978da',
    950: '#000000',
  },
}
SCSS
$custom: #a978da;
$custom-light: #c4a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a978da",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 270,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66127,
    "c": 0.14852,
    "h": 305.8
  },
  "luminance": 0.2693
}

Semantic roles & 50–950 ramp

primary
#A978DA
secondary
#D7E7C7
accent
#C52173
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A978DA

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

Preview Lab → · Contrast checker → · Palette generator →

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