#A778F0#A778F0

#A778F0 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.175 H 299.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A778F0
RGBrgb(167, 120, 240)
HSLhsl(264, 80%, 71%)
HSVhsv(264, 50%, 94%)
CMYKcmyk(30.4%, 50%, 0%, 5.9%)
CIE-LABlab(59.83, 42.69, -53.98)
CIE-LCHlch(59.83, 68.82, 308.34°)
OKLaboklab(67.14% 0.087 -0.1521)
OKLCHoklch(67.14% 0.175 299.8)
XYZxyz(38.3773, 27.9394, 85.7922)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778F0 #C1F078
analogous
#7885F0 #A778F0 #E378F0
triadic
#A778F0 #F0A778 #78F0A7
tetradic
#A778F0 #F07885 #C1F078 #78F0E3
square
#A778F0 #F07885 #C1F078 #78F0E3
split-complementary
#A778F0 #F0E378 #85F078
monochromatic
#6218D6 #8341EA #A778F0 #CBAFF6 #EDE3FC

Accessibility & contrast

On white

3.19
#A778F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#A778F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778F0
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778F0#FFFFFF#000000##000000
##A778F01.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F90F4
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#988FA9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a778f0;
/* rgb */ color: rgb(167, 120, 240);
/* oklch */ color: oklch(67.1% 0.175 299.8);
Tailwind
colors: {
  custom: {
    50: '#c4a0f5',
    500: '#a778f0',
    950: '#000000',
  },
}
SCSS
$custom: #a778f0;
$custom-light: #c4a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a778f0",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 263.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67136,
    "c": 0.17518,
    "h": 299.8
  },
  "luminance": 0.2794
}

Semantic roles & 50–950 ramp

primary
#A778F0
secondary
#E5F2D2
accent
#DC098A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778F0

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

Preview Lab → · Contrast checker → · Palette generator →

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