#A778F3#A778F3

#A778F3 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.179 H 299.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A778F3
RGBrgb(167, 120, 243)
HSLhsl(263, 84%, 71%)
HSVhsv(263, 51%, 95%)
CMYKcmyk(31.3%, 50.6%, 0%, 4.7%)
CIE-LABlab(60.00, 43.42, -55.38)
CIE-LCHlch(60.00, 70.37, 308.10°)
OKLaboklab(67.31% 0.0872 -0.1562)
OKLCHoklch(67.31% 0.179 299.2)
XYZxyz(38.8266, 28.1192, 88.1586)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778F3 #C4F378
analogous
#7886F3 #A778F3 #E478F3
triadic
#A778F3 #F3A778 #78F3A7
tetradic
#A778F3 #F37886 #C4F378 #78F3E4
square
#A778F3 #F37886 #C4F378 #78F3E4
split-complementary
#A778F3 #F3E478 #86F378
monochromatic
#6114DD #8240EE #A778F3 #CCB0F8 #EDE3FD

Accessibility & contrast

On white

3.17
#A778F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#A778F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778F3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778F3#FFFFFF#000000##000000
##A778F31.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F7
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#9790AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a778f3;
/* rgb */ color: rgb(167, 120, 243);
/* oklch */ color: oklch(67.3% 0.179 299.2);
Tailwind
colors: {
  custom: {
    50: '#c4a0f8',
    500: '#a778f3',
    950: '#000000',
  },
}
SCSS
$custom: #a778f3;
$custom-light: #c4a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a778f3",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 262.927,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6731,
    "c": 0.17888,
    "h": 299.2
  },
  "luminance": 0.28119
}

Semantic roles & 50–950 ramp

primary
#A778F3
secondary
#E7F4D3
accent
#E0058D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778F3

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

Preview Lab → · Contrast checker → · Palette generator →

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