#A778BE#A778BE

#A778BE is a light, moderate purple. Relative luminance 0.254; OKLCH L 64.5% C 0.114 H 314.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A778BE
RGBrgb(167, 120, 190)
HSLhsl(280, 35%, 61%)
HSVhsv(280, 37%, 75%)
CMYKcmyk(12.1%, 36.8%, 0%, 25.5%)
CIE-LABlab(57.43, 31.13, -29.64)
CIE-LCHlch(57.43, 42.98, 316.40°)
OKLaboklab(64.55% 0.0791 -0.0816)
OKLCHoklch(64.55% 0.114 314.1)
XYZxyz(31.9456, 25.3668, 51.9186)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778BE #8FBE78
analogous
#8478BE #A778BE #BE78B2
triadic
#A778BE #BEA778 #78BEA7
tetradic
#A778BE #BE8478 #8FBE78 #78B2BE
square
#A778BE #BE8478 #8FBE78 #78B2BE
split-complementary
#A778BE #B2BE78 #78BE84
monochromatic
#693D7F #8B51A8 #A778BE #C2A1D2 #DDCBE6

Accessibility & contrast

On white

3.46
#A778BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A778BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778BE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778BE#FFFFFF#000000##000000
##A778BE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C1
Deuteranopia (green-blind)
#788BBC
Tritanopia (blue-blind)
#A58192
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a778be;
/* rgb */ color: rgb(167, 120, 190);
/* oklch */ color: oklch(64.5% 0.114 314.1);
Tailwind
colors: {
  custom: {
    50: '#c29fd2',
    500: '#a778be',
    950: '#000000',
  },
}
SCSS
$custom: #a778be;
$custom-light: #c29fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a778be",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 280.286,
    "s": 35,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64549,
    "c": 0.11365,
    "h": 314.1
  },
  "luminance": 0.25366
}

Semantic roles & 50–950 ramp

primary
#A778BE
secondary
#C4D6BC
accent
#AE385E
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A778BE

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

Preview Lab → · Contrast checker → · Palette generator →

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