#A777FA#A777FA

#A777FA is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.6% C 0.189 H 298.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A777FA
RGBrgb(167, 119, 250)
HSLhsl(262, 93%, 72%)
HSVhsv(262, 52%, 98%)
CMYKcmyk(33.2%, 52.4%, 0%, 2%)
CIE-LABlab(60.17, 45.71, -58.97)
CIE-LCHlch(60.17, 74.61, 307.78°)
OKLaboklab(67.56% 0.0889 -0.1667)
OKLCHoklch(67.56% 0.189 298.1)
XYZxyz(39.7843, 28.3108, 93.7925)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A777FA #CAFA77
analogous
#7788FA #A777FA #E977FA
triadic
#A777FA #FAA777 #77FAA7
tetradic
#A777FA #FA7788 #CAFA77 #77FAE9
square
#A777FA #FA7788 #CAFA77 #77FAE9
split-complementary
#A777FA #FAE977 #88FA77
monochromatic
#5D09EE #813CF8 #A777FA #CDB2FC #ECE1FE

Accessibility & contrast

On white

3.15
#A777FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A777FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A777FA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A777FA#FFFFFF#000000##000000
##A777FA1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FE
Deuteranopia (green-blind)
#5190F7
Tritanopia (blue-blind)
#9591AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a777fa;
/* rgb */ color: rgb(167, 119, 250);
/* oklch */ color: oklch(67.6% 0.189 298.1);
Tailwind
colors: {
  custom: {
    50: '#c59ffd',
    500: '#a777fa',
    950: '#000000',
  },
}
SCSS
$custom: #a777fa;
$custom-light: #c59ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#a777fa",
  "rgb": {
    "r": 167,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 261.985,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67563,
    "c": 0.18893,
    "h": 298.1
  },
  "luminance": 0.28311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A777FA

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

Preview Lab → · Contrast checker → · Palette generator →

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