#A778EE#A778EE

#A778EE is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.173 H 300.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A778EE
RGBrgb(167, 120, 238)
HSLhsl(264, 78%, 70%)
HSVhsv(264, 50%, 93%)
CMYKcmyk(29.8%, 49.6%, 0%, 6.7%)
CIE-LABlab(59.73, 42.20, -53.04)
CIE-LCHlch(59.73, 67.78, 308.51°)
OKLaboklab(67.02% 0.0868 -0.1493)
OKLCHoklch(67.02% 0.173 300.2)
XYZxyz(38.0818, 27.8213, 84.2361)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778EE #BFEE78
analogous
#7884EE #A778EE #E278EE
triadic
#A778EE #EEA778 #78EEA7
tetradic
#A778EE #EE7884 #BFEE78 #78EEE2
square
#A778EE #EE7884 #BFEE78 #78EEE2
split-complementary
#A778EE #EEE278 #84EE78
monochromatic
#631AD1 #8442E7 #A778EE #CAAEF5 #EDE4FC

Accessibility & contrast

On white

3.20
#A778EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A778EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778EE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778EE#FFFFFF#000000##000000
##A778EE1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF2
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#998EA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a778ee;
/* rgb */ color: rgb(167, 120, 238);
/* oklch */ color: oklch(67.0% 0.173 300.2);
Tailwind
colors: {
  custom: {
    50: '#c4a0f4',
    500: '#a778ee',
    950: '#000000',
  },
}
SCSS
$custom: #a778ee;
$custom-light: #c4a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a778ee",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 263.898,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67022,
    "c": 0.17272,
    "h": 300.2
  },
  "luminance": 0.27821
}

Semantic roles & 50–950 ramp

primary
#A778EE
secondary
#E4F1D1
accent
#DA0C88
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778EE

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

Preview Lab → · Contrast checker → · Palette generator →

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