#A777FD#A777FD

#A777FD is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.193 H 297.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A777FD
RGBrgb(167, 119, 253)
HSLhsl(261, 97%, 73%)
HSVhsv(261, 53%, 99%)
CMYKcmyk(34%, 53%, 0%, 0.8%)
CIE-LABlab(60.34, 46.46, -60.35)
CIE-LCHlch(60.34, 76.16, 307.59°)
OKLaboklab(67.74% 0.0891 -0.1707)
OKLCHoklch(67.74% 0.193 297.6)
XYZxyz(40.2584, 28.5005, 96.2896)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A777FD #CDFD77
analogous
#778AFD #A777FD #EA77FD
triadic
#A777FD #FDA777 #77FDA7
tetradic
#A777FD #FD778A #CDFD77 #77FDEA
square
#A777FD #FD778A #CDFD77 #77FDEA
split-complementary
#A777FD #FDEA77 #8AFD77
monochromatic
#5A04F6 #803BFC #A777FD #CEB3FE #EBE1FF

Accessibility & contrast

On white

3.13
#A777FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#A777FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A777FD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A777FD#FFFFFF#000000##000000
##A777FD1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#9492AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a777fd;
/* rgb */ color: rgb(167, 119, 253);
/* oklch */ color: oklch(67.7% 0.193 297.6);
Tailwind
colors: {
  custom: {
    50: '#c59fff',
    500: '#a777fd',
    950: '#000000',
  },
}
SCSS
$custom: #a777fd;
$custom-light: #c59fff;
$custom-dark: #000000;
JSON
{
  "hex": "#a777fd",
  "rgb": {
    "r": 167,
    "g": 119,
    "b": 253
  },
  "hsl": {
    "h": 261.493,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67743,
    "c": 0.19258,
    "h": 297.6
  },
  "luminance": 0.28501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A777FD

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

Preview Lab → · Contrast checker → · Palette generator →

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