#A778FE#A778FE

#A778FE is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.0% C 0.192 H 297.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A778FE
RGBrgb(167, 120, 254)
HSLhsl(261, 99%, 73%)
HSVhsv(261, 53%, 100%)
CMYKcmyk(34.3%, 52.8%, 0%, 0.4%)
CIE-LABlab(60.61, 46.16, -60.47)
CIE-LCHlch(60.61, 76.08, 307.35°)
OKLaboklab(67.96% 0.0879 -0.1711)
OKLCHoklch(67.96% 0.192 297.2)
XYZxyz(40.5377, 28.8036, 97.1706)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778FE #CFFE78
analogous
#788CFE #A778FE #EA78FE
triadic
#A778FE #FEA778 #78FEA7
tetradic
#A778FE #FE788C #CFFE78 #78FEEA
square
#A778FE #FE788C #CFFE78 #78FEEA
split-complementary
#A778FE #FEEA78 #8CFE78
monochromatic
#5902FA #7F3BFE #A778FE #CFB5FE #EBE1FF

Accessibility & contrast

On white

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

On black

6.76
#A778FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778FE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778FE#FFFFFF#000000##000000
##A778FE1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#4F91FB
Tritanopia (blue-blind)
#9393B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a778fe;
/* rgb */ color: rgb(167, 120, 254);
/* oklch */ color: oklch(68.0% 0.192 297.2);
Tailwind
colors: {
  custom: {
    50: '#c5a0ff',
    500: '#a778fe',
    950: '#000000',
  },
}
SCSS
$custom: #a778fe;
$custom-light: #c5a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a778fe",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 261.045,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67961,
    "c": 0.19235,
    "h": 297.2
  },
  "luminance": 0.28804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A778FE

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

Preview Lab → · Contrast checker → · Palette generator →

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