#A778CD#A778CD

#A778CD is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.3% C 0.132 H 308.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A778CD
RGBrgb(167, 120, 205)
HSLhsl(273, 46%, 64%)
HSVhsv(273, 41%, 80%)
CMYKcmyk(18.5%, 41.5%, 0%, 19.6%)
CIE-LABlab(58.09, 34.43, -37.13)
CIE-LCHlch(58.09, 50.64, 312.84°)
OKLaboklab(65.26% 0.0823 -0.1031)
OKLCHoklch(65.26% 0.132 308.6)
XYZxyz(33.6702, 26.0566, 61.0014)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778CD #9ECD78
analogous
#7C78CD #A778CD #CD78C8
triadic
#A778CD #CDA778 #78CDA7
tetradic
#A778CD #CD7C78 #9ECD78 #78C8CD
square
#A778CD #CD7C78 #9ECD78 #78C8CD
split-complementary
#A778CD #C8CD78 #78CD7C
monochromatic
#6A3794 #8A4BBC #A778CD #C4A5DE #E1D1EE

Accessibility & contrast

On white

3.38
#A778CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A778CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778CD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778CD#FFFFFF#000000##000000
##A778CD1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD0
Deuteranopia (green-blind)
#718CCB
Tritanopia (blue-blind)
#A28599
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a778cd;
/* rgb */ color: rgb(167, 120, 205);
/* oklch */ color: oklch(65.3% 0.132 308.6);
Tailwind
colors: {
  custom: {
    50: '#c2a0dc',
    500: '#a778cd',
    950: '#000000',
  },
}
SCSS
$custom: #a778cd;
$custom-light: #c2a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a778cd",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 273.176,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65264,
    "c": 0.13189,
    "h": 308.6
  },
  "luminance": 0.26056
}

Semantic roles & 50–950 ramp

primary
#A778CD
secondary
#CFDFC1
accent
#B92C6B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A778CD

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

Preview Lab → · Contrast checker → · Palette generator →

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