#A778F5#A778F5

#A778F5 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.181 H 298.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A778F5
RGBrgb(167, 120, 245)
HSLhsl(263, 86%, 72%)
HSVhsv(263, 51%, 96%)
CMYKcmyk(31.8%, 51%, 0%, 3.9%)
CIE-LABlab(60.11, 43.92, -56.31)
CIE-LCHlch(60.11, 71.41, 307.95°)
OKLaboklab(67.43% 0.0874 -0.1589)
OKLCHoklch(67.43% 0.181 298.8)
XYZxyz(39.1303, 28.2406, 89.7579)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778F5 #C6F578
analogous
#7888F5 #A778F5 #E678F5
triadic
#A778F5 #F5A778 #78F5A7
tetradic
#A778F5 #F57888 #C6F578 #78F5E6
square
#A778F5 #F57888 #C6F578 #78F5E6
split-complementary
#A778F5 #F5E678 #88F578
monochromatic
#5F11E2 #823FF1 #A778F5 #CCB1F9 #ECE3FD

Accessibility & contrast

On white

3.16
#A778F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A778F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778F5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778F5#FFFFFF#000000##000000
##A778F51.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#9790AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a778f5;
/* rgb */ color: rgb(167, 120, 245);
/* oklch */ color: oklch(67.4% 0.181 298.8);
Tailwind
colors: {
  custom: {
    50: '#c5a0f9',
    500: '#a778f5',
    950: '#000000',
  },
}
SCSS
$custom: #a778f5;
$custom-light: #c5a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a778f5",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 262.56,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67426,
    "c": 0.18134,
    "h": 298.8
  },
  "luminance": 0.28241
}

Semantic roles & 50–950 ramp

primary
#A778F5
secondary
#E8F4D4
accent
#E3038F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778F5

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

Preview Lab → · Contrast checker → · Palette generator →

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