#A778F9#A778F9

#A778F9 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.186 H 298.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A778F9
RGBrgb(167, 120, 249)
HSLhsl(262, 91%, 72%)
HSVhsv(262, 52%, 98%)
CMYKcmyk(32.9%, 51.8%, 0%, 2.4%)
CIE-LABlab(60.33, 44.91, -58.17)
CIE-LCHlch(60.33, 73.49, 307.67°)
OKLaboklab(67.66% 0.0876 -0.1643)
OKLCHoklch(67.66% 0.186 298.1)
XYZxyz(39.7475, 28.4875, 93.0087)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778F9 #CAF978
analogous
#788AF9 #A778F9 #E778F9
triadic
#A778F9 #F9A778 #78F9A7
tetradic
#A778F9 #F9788A #CAF978 #78F9E7
square
#A778F9 #F9788A #CAF978 #78F9E7
split-complementary
#A778F9 #F9E778 #8AF978
monochromatic
#5D0AEC #813DF6 #A778F9 #CDB3FC #ECE2FE

Accessibility & contrast

On white

3.14
#A778F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#A778F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778F9
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778F9#FFFFFF#000000##000000
##A778F91.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FD
Deuteranopia (green-blind)
#5490F6
Tritanopia (blue-blind)
#9591AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a778f9;
/* rgb */ color: rgb(167, 120, 249);
/* oklch */ color: oklch(67.7% 0.186 298.1);
Tailwind
colors: {
  custom: {
    50: '#c5a0fc',
    500: '#a778f9',
    950: '#000000',
  },
}
SCSS
$custom: #a778f9;
$custom-light: #c5a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a778f9",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 261.86,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67662,
    "c": 0.18624,
    "h": 298.1
  },
  "luminance": 0.28488
}

Semantic roles & 50–950 ramp

primary
#A778F9
secondary
#EAF6D5
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778F9

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

Preview Lab → · Contrast checker → · Palette generator →

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