#A778FF#A778FF

#A778FF is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.194 H 297.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A778FF
RGBrgb(167, 120, 255)
HSLhsl(261, 100%, 74%)
HSVhsv(261, 53%, 100%)
CMYKcmyk(34.5%, 52.9%, 0%, 0%)
CIE-LABlab(60.66, 46.41, -60.93)
CIE-LCHlch(60.66, 76.59, 307.30°)
OKLaboklab(68.02% 0.088 -0.1724)
OKLCHoklch(68.02% 0.194 297)
XYZxyz(40.6983, 28.8679, 98.0162)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778FF #D0FF78
analogous
#788CFF #A778FF #EA78FF
triadic
#A778FF #FFA778 #78FFA7
tetradic
#A778FF #FF788C #D0FF78 #78FFEA
square
#A778FF #FF788C #D0FF78 #78FFEA
split-complementary
#A778FF #FFEA78 #8CFF78
monochromatic
#5800FD #7F3BFF #A778FF #CFB5FF #EBE0FF

Accessibility & contrast

On white

3.10
#A778FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A778FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778FF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778FF#FFFFFF#000000##000000
##A778FF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a778ff;
/* rgb */ color: rgb(167, 120, 255);
/* oklch */ color: oklch(68.0% 0.194 297.0);
Tailwind
colors: {
  custom: {
    50: '#c5a0ff',
    500: '#a778ff',
    950: '#000000',
  },
}
SCSS
$custom: #a778ff;
$custom-light: #c5a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a778ff",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 260.889,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68021,
    "c": 0.19356,
    "h": 297
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A778FF

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

Preview Lab → · Contrast checker → · Palette generator →

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