#A778CC#A778CC

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

Color values

HEX#A778CC
RGBrgb(167, 120, 204)
HSLhsl(274, 45%, 64%)
HSVhsv(274, 41%, 80%)
CMYKcmyk(18.1%, 41.2%, 0%, 20%)
CIE-LABlab(58.05, 34.20, -36.64)
CIE-LCHlch(58.05, 50.12, 313.03°)
OKLaboklab(65.21% 0.0821 -0.1016)
OKLCHoklch(65.21% 0.131 308.9)
XYZxyz(33.5499, 26.0085, 60.3678)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778CC #9DCC78
analogous
#7D78CC #A778CC #CC78C7
triadic
#A778CC #CCA778 #78CCA7
tetradic
#A778CC #CC7D78 #9DCC78 #78C7CC
square
#A778CC #CC7D78 #9DCC78 #78C7CC
split-complementary
#A778CC #C7CC78 #78CC7D
monochromatic
#6A3792 #8A4CBB #A778CC #C4A4DD #E1D1EE

Accessibility & contrast

On white

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

On black

6.20
#A778CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778CC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778CC#FFFFFF#000000##000000
##A778CC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CF
Deuteranopia (green-blind)
#718CCA
Tritanopia (blue-blind)
#A28598
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a778cc;
/* rgb */ color: rgb(167, 120, 204);
/* oklch */ color: oklch(65.2% 0.131 308.9);
Tailwind
colors: {
  custom: {
    50: '#c2a0dc',
    500: '#a778cc',
    950: '#000000',
  },
}
SCSS
$custom: #a778cc;
$custom-light: #c2a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a778cc",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 273.571,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65214,
    "c": 0.13066,
    "h": 308.9
  },
  "luminance": 0.26008
}

Semantic roles & 50–950 ramp

primary
#A778CC
secondary
#CEDFC1
accent
#B82D6A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A778CC

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

Preview Lab → · Contrast checker → · Palette generator →

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