#A778DF#A778DF

#A778DF is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.2% C 0.154 H 303.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A778DF
RGBrgb(167, 120, 223)
HSLhsl(267, 62%, 67%)
HSVhsv(267, 46%, 87%)
CMYKcmyk(25.1%, 46.2%, 0%, 12.5%)
CIE-LABlab(58.95, 38.59, -45.91)
CIE-LCHlch(58.95, 59.97, 310.05°)
OKLaboklab(66.19% 0.0852 -0.1285)
OKLCHoklch(66.19% 0.154 303.5)
XYZxyz(35.9692, 26.9762, 73.1097)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778DF #B0DF78
analogous
#787CDF #A778DF #DB78DF
triadic
#A778DF #DFA778 #78DFA7
tetradic
#A778DF #DF787C #B0DF78 #78DFDB
square
#A778DF #DF787C #B0DF78 #78DFDB
split-complementary
#A778DF #DFDB78 #7CDF78
monochromatic
#682AB2 #8747D3 #A778DF #C7A9EB #E7DBF6

Accessibility & contrast

On white

3.28
#A778DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#A778DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778DF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778DF#FFFFFF#000000##000000
##A778DF1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8DE3
Deuteranopia (green-blind)
#678EDC
Tritanopia (blue-blind)
#9D8AA1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a778df;
/* rgb */ color: rgb(167, 120, 223);
/* oklch */ color: oklch(66.2% 0.154 303.5);
Tailwind
colors: {
  custom: {
    50: '#c3a0e9',
    500: '#a778df',
    950: '#000000',
  },
}
SCSS
$custom: #a778df;
$custom-light: #c3a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a778df",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 267.379,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66192,
    "c": 0.15416,
    "h": 303.5
  },
  "luminance": 0.26976
}

Semantic roles & 50–950 ramp

primary
#A778DF
secondary
#DBEAC9
accent
#C91C7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A778DF

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

Preview Lab → · Contrast checker → · Palette generator →

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