#A778EA#A778EA

#A778EA is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.8% C 0.168 H 301.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A778EA
RGBrgb(167, 120, 234)
HSLhsl(265, 73%, 69%)
HSVhsv(265, 49%, 92%)
CMYKcmyk(28.6%, 48.7%, 0%, 8.2%)
CIE-LABlab(59.52, 41.22, -51.15)
CIE-LCHlch(59.52, 65.70, 308.87°)
OKLaboklab(66.8% 0.0864 -0.1438)
OKLCHoklch(66.8% 0.168 301)
XYZxyz(37.5007, 27.5888, 81.1755)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778EA #BBEA78
analogous
#7882EA #A778EA #E078EA
triadic
#A778EA #EAA778 #78EAA7
tetradic
#A778EA #EA7882 #BBEA78 #78EAE0
square
#A778EA #EA7882 #BBEA78 #78EAE0
split-complementary
#A778EA #EAE078 #82EA78
monochromatic
#651FC8 #8443E2 #A778EA #CAADF2 #ECE2FA

Accessibility & contrast

On white

3.22
#A778EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A778EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778EA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778EA#FFFFFF#000000##000000
##A778EA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#9A8DA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a778ea;
/* rgb */ color: rgb(167, 120, 234);
/* oklch */ color: oklch(66.8% 0.168 301.0);
Tailwind
colors: {
  custom: {
    50: '#c4a0f1',
    500: '#a778ea',
    950: '#000000',
  },
}
SCSS
$custom: #a778ea;
$custom-light: #c4a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a778ea",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 264.737,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66796,
    "c": 0.16778,
    "h": 301
  },
  "luminance": 0.27589
}

Semantic roles & 50–950 ramp

primary
#A778EA
secondary
#E2EFCE
accent
#D51084
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778EA

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

Preview Lab → · Contrast checker → · Palette generator →

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