#A778CB#A778CB

#A778CB is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.2% C 0.129 H 309.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A778CB
RGBrgb(167, 120, 203)
HSLhsl(274, 44%, 63%)
HSVhsv(274, 41%, 80%)
CMYKcmyk(17.7%, 40.9%, 0%, 20.4%)
CIE-LABlab(58.00, 33.98, -36.14)
CIE-LCHlch(58.00, 49.61, 313.23°)
OKLaboklab(65.16% 0.0819 -0.1002)
OKLCHoklch(65.16% 0.129 309.3)
XYZxyz(33.4303, 25.9607, 59.7381)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778CB #9CCB78
analogous
#7D78CB #A778CB #CB78C5
triadic
#A778CB #CBA778 #78CBA7
tetradic
#A778CB #CB7D78 #9CCB78 #78C5CB
square
#A778CB #CB7D78 #9CCB78 #78C5CB
split-complementary
#A778CB #C5CB78 #78CB7D
monochromatic
#6A3891 #8A4CBA #A778CB #C4A4DC #E1D0ED

Accessibility & contrast

On white

3.39
#A778CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A778CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778CB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778CB#FFFFFF#000000##000000
##A778CB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CE
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#A38598
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a778cb;
/* rgb */ color: rgb(167, 120, 203);
/* oklch */ color: oklch(65.2% 0.129 309.3);
Tailwind
colors: {
  custom: {
    50: '#c2a0db',
    500: '#a778cb',
    950: '#000000',
  },
}
SCSS
$custom: #a778cb;
$custom-light: #c2a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#a778cb",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 273.976,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65165,
    "c": 0.12944,
    "h": 309.3
  },
  "luminance": 0.2596
}

Semantic roles & 50–950 ramp

primary
#A778CB
secondary
#CDDEC1
accent
#B82E6A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A778CB

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

Preview Lab → · Contrast checker → · Palette generator →

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