#A978ED#A978ED

#A978ED is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.172 H 301.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A978ED
RGBrgb(169, 120, 237)
HSLhsl(265, 76%, 70%)
HSVhsv(265, 49%, 93%)
CMYKcmyk(28.7%, 49.4%, 0%, 7.1%)
CIE-LABlab(59.87, 42.47, -52.24)
CIE-LCHlch(59.87, 67.32, 309.11°)
OKLaboklab(67.16% 0.0892 -0.1469)
OKLCHoklch(67.16% 0.172 301.3)
XYZxyz(38.3612, 27.9823, 83.4845)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978ED #BCED78
analogous
#7882ED #A978ED #E378ED
triadic
#A978ED #EDA978 #78EDA9
tetradic
#A978ED #ED7882 #BCED78 #78EDE3
square
#A978ED #ED7882 #BCED78 #78EDE3
split-complementary
#A978ED #EDE378 #82ED78
monochromatic
#671CCF #8742E6 #A978ED #CBAEF4 #EEE4FB

Accessibility & contrast

On white

3.18
#A978ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A978ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978ED
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978ED#FFFFFF#000000##000000
##A978ED1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F1
Deuteranopia (green-blind)
#5F90EA
Tritanopia (blue-blind)
#9C8EA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a978ed;
/* rgb */ color: rgb(169, 120, 237);
/* oklch */ color: oklch(67.2% 0.172 301.3);
Tailwind
colors: {
  custom: {
    50: '#c5a0f3',
    500: '#a978ed',
    950: '#000000',
  },
}
SCSS
$custom: #a978ed;
$custom-light: #c5a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a978ed",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 265.128,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.67159,
    "c": 0.17187,
    "h": 301.3
  },
  "luminance": 0.27982
}

Semantic roles & 50–950 ramp

primary
#A978ED
secondary
#E3F1D0
accent
#D90D83
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A978ED

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

Preview Lab → · Contrast checker → · Palette generator →

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