#A778F6#A778F6

#A778F6 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.5% C 0.183 H 298.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A778F6
RGBrgb(167, 120, 246)
HSLhsl(262, 88%, 72%)
HSVhsv(262, 51%, 96%)
CMYKcmyk(32.1%, 51.2%, 0%, 3.5%)
CIE-LABlab(60.16, 44.16, -56.78)
CIE-LCHlch(60.16, 71.93, 307.88°)
OKLaboklab(67.49% 0.0875 -0.1603)
OKLCHoklch(67.49% 0.183 298.6)
XYZxyz(39.2833, 28.3019, 90.5641)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778F6 #C7F678
analogous
#7888F6 #A778F6 #E678F6
triadic
#A778F6 #F6A778 #78F6A7
tetradic
#A778F6 #F67888 #C7F678 #78F6E6
square
#A778F6 #F67888 #C7F678 #78F6E6
split-complementary
#A778F6 #F6E678 #88F678
monochromatic
#5F0FE4 #823FF2 #A778F6 #CCB1FA #ECE2FD

Accessibility & contrast

On white

3.15
#A778F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A778F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778F6
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778F6#FFFFFF#000000##000000
##A778F61.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91FA
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#9690AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a778f6;
/* rgb */ color: rgb(167, 120, 246);
/* oklch */ color: oklch(67.5% 0.183 298.6);
Tailwind
colors: {
  custom: {
    50: '#c5a0fa',
    500: '#a778f6',
    950: '#000000',
  },
}
SCSS
$custom: #a778f6;
$custom-light: #c5a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a778f6",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 262.381,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67485,
    "c": 0.18257,
    "h": 298.6
  },
  "luminance": 0.28302
}

Semantic roles & 50–950 ramp

primary
#A778F6
secondary
#E9F5D5
accent
#E40190
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778F6

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

Preview Lab → · Contrast checker → · Palette generator →

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