#A778FD#A778FD

#A778FD is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.191 H 297.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A778FD
RGBrgb(167, 120, 253)
HSLhsl(261, 97%, 73%)
HSVhsv(261, 53%, 99%)
CMYKcmyk(34%, 52.6%, 0%, 0.8%)
CIE-LABlab(60.55, 45.91, -60.01)
CIE-LCHlch(60.55, 75.56, 307.42°)
OKLaboklab(67.9% 0.0879 -0.1697)
OKLCHoklch(67.9% 0.191 297.4)
XYZxyz(40.3780, 28.7397, 96.3295)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778FD #CEFD78
analogous
#788BFD #A778FD #E978FD
triadic
#A778FD #FDA778 #78FDA7
tetradic
#A778FD #FD788B #CEFD78 #78FDE9
square
#A778FD #FD788B #CEFD78 #78FDE9
split-complementary
#A778FD #FDE978 #8BFD78
monochromatic
#5A04F7 #803CFC #A778FD #CEB4FE #EBE1FF

Accessibility & contrast

On white

3.11
#A778FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#A778FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778FD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778FD#FFFFFF#000000##000000
##A778FD1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#5091FA
Tritanopia (blue-blind)
#9492AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a778fd;
/* rgb */ color: rgb(167, 120, 253);
/* oklch */ color: oklch(67.9% 0.191 297.4);
Tailwind
colors: {
  custom: {
    50: '#c5a0ff',
    500: '#a778fd',
    950: '#000000',
  },
}
SCSS
$custom: #a778fd;
$custom-light: #c5a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a778fd",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 261.203,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67901,
    "c": 0.19113,
    "h": 297.4
  },
  "luminance": 0.2874
}

Semantic roles & 50–950 ramp

primary
#A778FD
secondary
#EBF7D4
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A778FD

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

Preview Lab → · Contrast checker → · Palette generator →

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