#A778FB#A778FB

#A778FB is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.189 H 297.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A778FB
RGBrgb(167, 120, 251)
HSLhsl(262, 94%, 73%)
HSVhsv(262, 52%, 98%)
CMYKcmyk(33.5%, 52.2%, 0%, 1.6%)
CIE-LABlab(60.44, 45.41, -59.09)
CIE-LCHlch(60.44, 74.52, 307.54°)
OKLaboklab(67.78% 0.0878 -0.167)
OKLCHoklch(67.78% 0.189 297.7)
XYZxyz(40.0611, 28.6130, 94.6603)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778FB #CCFB78
analogous
#788AFB #A778FB #E978FB
triadic
#A778FB #FBA778 #78FBA7
tetradic
#A778FB #FB788A #CCFB78 #78FBE9
square
#A778FB #FB788A #CCFB78 #78FBE9
split-complementary
#A778FB #FBE978 #8AFB78
monochromatic
#5B07F1 #803DF9 #A778FB #CEB3FD #ECE1FE

Accessibility & contrast

On white

3.12
#A778FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A778FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778FB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778FB#FFFFFF#000000##000000
##A778FB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#5290F8
Tritanopia (blue-blind)
#9492AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a778fb;
/* rgb */ color: rgb(167, 120, 251);
/* oklch */ color: oklch(67.8% 0.189 297.7);
Tailwind
colors: {
  custom: {
    50: '#c5a0fd',
    500: '#a778fb',
    950: '#000000',
  },
}
SCSS
$custom: #a778fb;
$custom-light: #c5a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a778fb",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 261.527,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67781,
    "c": 0.18869,
    "h": 297.7
  },
  "luminance": 0.28613
}

Semantic roles & 50–950 ramp

primary
#A778FB
secondary
#EAF6D5
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A778FB

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

Preview Lab → · Contrast checker → · Palette generator →

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