#A778CA#A778CA

#A778CA is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.1% C 0.128 H 309.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A778CA
RGBrgb(167, 120, 202)
HSLhsl(274, 44%, 63%)
HSVhsv(274, 41%, 79%)
CMYKcmyk(17.3%, 40.6%, 0%, 20.8%)
CIE-LABlab(57.95, 33.75, -35.65)
CIE-LCHlch(57.95, 49.09, 313.44°)
OKLaboklab(65.12% 0.0817 -0.0988)
OKLCHoklch(65.12% 0.128 309.6)
XYZxyz(33.3115, 25.9131, 59.1125)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778CA #9BCA78
analogous
#7E78CA #A778CA #CA78C4
triadic
#A778CA #CAA778 #78CAA7
tetradic
#A778CA #CA7E78 #9BCA78 #78C4CA
square
#A778CA #CA7E78 #9BCA78 #78C4CA
split-complementary
#A778CA #C4CA78 #78CA7E
monochromatic
#6A388F #8A4CB9 #A778CA #C4A4DB #E0D0ED

Accessibility & contrast

On white

3.40
#A778CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A778CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778CA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778CA#FFFFFF#000000##000000
##A778CA1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CD
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#A38497
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a778ca;
/* rgb */ color: rgb(167, 120, 202);
/* oklch */ color: oklch(65.1% 0.128 309.6);
Tailwind
colors: {
  custom: {
    50: '#c2a0da',
    500: '#a778ca',
    950: '#000000',
  },
}
SCSS
$custom: #a778ca;
$custom-light: #c2a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#a778ca",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 274.39,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65116,
    "c": 0.12821,
    "h": 309.6
  },
  "luminance": 0.25913
}

Semantic roles & 50–950 ramp

primary
#A778CA
secondary
#CDDEC0
accent
#B72F69
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A778CA

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

Preview Lab → · Contrast checker → · Palette generator →

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