#A778BC#A778BC

#A778BC is a light, moderate purple. Relative luminance 0.253; OKLCH L 64.5% C 0.111 H 315.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A778BC
RGBrgb(167, 120, 188)
HSLhsl(281, 34%, 60%)
HSVhsv(281, 36%, 74%)
CMYKcmyk(11.2%, 36.2%, 0%, 26.3%)
CIE-LABlab(57.35, 30.70, -28.63)
CIE-LCHlch(57.35, 41.98, 316.99°)
OKLaboklab(64.46% 0.0787 -0.0787)
OKLCHoklch(64.46% 0.111 315)
XYZxyz(31.7285, 25.2799, 50.7753)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778BC #8DBC78
analogous
#8578BC #A778BC #BC78AF
triadic
#A778BC #BCA778 #78BCA7
tetradic
#A778BC #BC8578 #8DBC78 #78AFBC
square
#A778BC #BC8578 #8DBC78 #78AFBC
split-complementary
#A778BC #AFBC78 #78BC85
monochromatic
#693E7C #8B52A5 #A778BC #C2A1D0 #DCCAE5

Accessibility & contrast

On white

3.47
#A778BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A778BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778BC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778BC#FFFFFF#000000##000000
##A778BC1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BF
Deuteranopia (green-blind)
#788BBA
Tritanopia (blue-blind)
#A68191
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a778bc;
/* rgb */ color: rgb(167, 120, 188);
/* oklch */ color: oklch(64.5% 0.111 315.0);
Tailwind
colors: {
  custom: {
    50: '#c29fd0',
    500: '#a778bc',
    950: '#000000',
  },
}
SCSS
$custom: #a778bc;
$custom-light: #c29fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a778bc",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 281.471,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64458,
    "c": 0.11126,
    "h": 315
  },
  "luminance": 0.25279
}

Semantic roles & 50–950 ramp

primary
#A778BC
secondary
#C3D5BB
accent
#AC395D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A778BC

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

Preview Lab → · Contrast checker → · Palette generator →

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