#A778BF#A778BF

#A778BF is a light, moderate violet. Relative luminance 0.254; OKLCH L 64.6% C 0.115 H 313.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A778BF
RGBrgb(167, 120, 191)
HSLhsl(280, 36%, 61%)
HSVhsv(280, 37%, 75%)
CMYKcmyk(12.6%, 37.2%, 0%, 25.1%)
CIE-LABlab(57.47, 31.34, -30.15)
CIE-LCHlch(57.47, 43.49, 316.11°)
OKLaboklab(64.6% 0.0794 -0.083)
OKLCHoklch(64.6% 0.115 313.7)
XYZxyz(32.0553, 25.4106, 52.4962)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778BF #90BF78
analogous
#8378BF #A778BF #BF78B3
triadic
#A778BF #BFA778 #78BFA7
tetradic
#A778BF #BF8378 #90BF78 #78B3BF
square
#A778BF #BF8378 #90BF78 #78B3BF
split-complementary
#A778BF #B3BF78 #78BF83
monochromatic
#693D80 #8B50A9 #A778BF #C2A2D3 #DDCBE6

Accessibility & contrast

On white

3.45
#A778BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A778BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778BF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778BF#FFFFFF#000000##000000
##A778BF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C2
Deuteranopia (green-blind)
#778BBD
Tritanopia (blue-blind)
#A58293
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a778bf;
/* rgb */ color: rgb(167, 120, 191);
/* oklch */ color: oklch(64.6% 0.115 313.7);
Tailwind
colors: {
  custom: {
    50: '#c29fd2',
    500: '#a778bf',
    950: '#000000',
  },
}
SCSS
$custom: #a778bf;
$custom-light: #c29fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a778bf",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 279.718,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64595,
    "c": 0.11485,
    "h": 313.7
  },
  "luminance": 0.2541
}

Semantic roles & 50–950 ramp

primary
#A778BF
secondary
#C5D7BC
accent
#AF375F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A778BF

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

Preview Lab → · Contrast checker → · Palette generator →

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