#A778DC#A778DC

#A778DC is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.0% C 0.150 H 304.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A778DC
RGBrgb(167, 120, 220)
HSLhsl(268, 59%, 67%)
HSVhsv(268, 45%, 86%)
CMYKcmyk(24.1%, 45.5%, 0%, 13.7%)
CIE-LABlab(58.80, 37.88, -44.46)
CIE-LCHlch(58.80, 58.41, 310.43°)
OKLaboklab(66.03% 0.0847 -0.1243)
OKLCHoklch(66.03% 0.15 304.3)
XYZxyz(35.5683, 26.8159, 70.9984)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778DC #ADDC78
analogous
#787BDC #A778DC #D978DC
triadic
#A778DC #DCA778 #78DCA7
tetradic
#A778DC #DC787B #ADDC78 #78DCD9
square
#A778DC #DC787B #ADDC78 #78DCD9
split-complementary
#A778DC #DCD978 #7BDC78
monochromatic
#692DAD #8747CF #A778DC #C7A9E9 #E6D9F5

Accessibility & contrast

On white

3.30
#A778DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A778DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778DC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778DC#FFFFFF#000000##000000
##A778DC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CE0
Deuteranopia (green-blind)
#698ED9
Tritanopia (blue-blind)
#9E89A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a778dc;
/* rgb */ color: rgb(167, 120, 220);
/* oklch */ color: oklch(66.0% 0.150 304.3);
Tailwind
colors: {
  custom: {
    50: '#c3a0e7',
    500: '#a778dc',
    950: '#000000',
  },
}
SCSS
$custom: #a778dc;
$custom-light: #c3a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a778dc",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 268.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66032,
    "c": 0.15044,
    "h": 304.3
  },
  "luminance": 0.26816
}

Semantic roles & 50–950 ramp

primary
#A778DC
secondary
#D9E8C8
accent
#C61F78
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A778DC

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

Preview Lab → · Contrast checker → · Palette generator →

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