#A778DE#A778DE

#A778DE is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.1% C 0.153 H 303.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A778DE
RGBrgb(167, 120, 222)
HSLhsl(268, 61%, 67%)
HSVhsv(268, 46%, 87%)
CMYKcmyk(24.8%, 45.9%, 0%, 12.9%)
CIE-LABlab(58.90, 38.35, -45.42)
CIE-LCHlch(58.90, 59.45, 310.18°)
OKLaboklab(66.14% 0.085 -0.1271)
OKLCHoklch(66.14% 0.153 303.8)
XYZxyz(35.8348, 26.9225, 72.4018)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778DE #AFDE78
analogous
#787CDE #A778DE #DA78DE
triadic
#A778DE #DEA778 #78DEA7
tetradic
#A778DE #DE787C #AFDE78 #78DEDA
square
#A778DE #DE787C #AFDE78 #78DEDA
split-complementary
#A778DE #DEDA78 #7CDE78
monochromatic
#692BB0 #8747D2 #A778DE #C7A9EA #E7DAF6

Accessibility & contrast

On white

3.29
#A778DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A778DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778DE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778DE#FFFFFF#000000##000000
##A778DE1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE2
Deuteranopia (green-blind)
#688EDB
Tritanopia (blue-blind)
#9E8AA0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a778de;
/* rgb */ color: rgb(167, 120, 222);
/* oklch */ color: oklch(66.1% 0.153 303.8);
Tailwind
colors: {
  custom: {
    50: '#c3a0e9',
    500: '#a778de',
    950: '#000000',
  },
}
SCSS
$custom: #a778de;
$custom-light: #c3a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a778de",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 267.647,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66138,
    "c": 0.15292,
    "h": 303.8
  },
  "luminance": 0.26922
}

Semantic roles & 50–950 ramp

primary
#A778DE
secondary
#DAE9C9
accent
#C81D79
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A778DE

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

Preview Lab → · Contrast checker → · Palette generator →

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