#A778FC#A778FC

#A778FC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.190 H 297.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A778FC
RGBrgb(167, 120, 252)
HSLhsl(261, 96%, 73%)
HSVhsv(261, 52%, 99%)
CMYKcmyk(33.7%, 52.4%, 0%, 1.2%)
CIE-LABlab(60.49, 45.66, -59.55)
CIE-LCHlch(60.49, 75.04, 307.48°)
OKLaboklab(67.84% 0.0878 -0.1684)
OKLCHoklch(67.84% 0.19 297.5)
XYZxyz(40.2192, 28.6762, 95.4927)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778FC #CDFC78
analogous
#788BFC #A778FC #E978FC
triadic
#A778FC #FCA778 #78FCA7
tetradic
#A778FC #FC788B #CDFC78 #78FCE9
square
#A778FC #FC788B #CDFC78 #78FCE9
split-complementary
#A778FC #FCE978 #8BFC78
monochromatic
#5A05F4 #803CFB #A778FC #CEB4FD #EBE1FE

Accessibility & contrast

On white

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

On black

6.74
#A778FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778FC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778FC#FFFFFF#000000##000000
##A778FC1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#5190F9
Tritanopia (blue-blind)
#9492AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a778fc;
/* rgb */ color: rgb(167, 120, 252);
/* oklch */ color: oklch(67.8% 0.190 297.5);
Tailwind
colors: {
  custom: {
    50: '#c5a0fe',
    500: '#a778fc',
    950: '#000000',
  },
}
SCSS
$custom: #a778fc;
$custom-light: #c5a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a778fc",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 261.364,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67841,
    "c": 0.18991,
    "h": 297.5
  },
  "luminance": 0.28677
}

Semantic roles & 50–950 ramp

primary
#A778FC
secondary
#EAF7D4
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A778FC

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

Preview Lab → · Contrast checker → · Palette generator →

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