#A778F7#A778F7

#A778F7 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.5% C 0.184 H 298.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A778F7
RGBrgb(167, 120, 247)
HSLhsl(262, 89%, 72%)
HSVhsv(262, 51%, 97%)
CMYKcmyk(32.4%, 51.4%, 0%, 3.1%)
CIE-LABlab(60.22, 44.41, -57.24)
CIE-LCHlch(60.22, 72.45, 307.81°)
OKLaboklab(67.54% 0.0875 -0.1616)
OKLCHoklch(67.54% 0.184 298.4)
XYZxyz(39.4372, 28.3634, 91.3746)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778F7 #C8F778
analogous
#7889F7 #A778F7 #E778F7
triadic
#A778F7 #F7A778 #78F7A7
tetradic
#A778F7 #F77889 #C8F778 #78F7E7
square
#A778F7 #F77889 #C8F778 #78F7E7
split-complementary
#A778F7 #F7E778 #89F778
monochromatic
#5E0EE7 #813EF4 #A778F7 #CDB2FA #ECE2FD

Accessibility & contrast

On white

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

On black

6.67
#A778F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778F7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778F7#FFFFFF#000000##000000
##A778F71.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#9691AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a778f7;
/* rgb */ color: rgb(167, 120, 247);
/* oklch */ color: oklch(67.5% 0.184 298.4);
Tailwind
colors: {
  custom: {
    50: '#c5a0fa',
    500: '#a778f7',
    950: '#000000',
  },
}
SCSS
$custom: #a778f7;
$custom-light: #c5a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a778f7",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 262.205,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67544,
    "c": 0.18379,
    "h": 298.4
  },
  "luminance": 0.28364
}

Semantic roles & 50–950 ramp

primary
#A778F7
secondary
#EAF5D5
accent
#E50091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778F7

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

Preview Lab → · Contrast checker → · Palette generator →

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