#A777F2#A777F2

#A777F2 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.1% C 0.179 H 299.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A777F2
RGBrgb(167, 119, 242)
HSLhsl(263, 83%, 71%)
HSVhsv(263, 51%, 95%)
CMYKcmyk(31%, 50.8%, 0%, 5.1%)
CIE-LABlab(59.73, 43.73, -55.26)
CIE-LCHlch(59.73, 70.47, 308.36°)
OKLaboklab(67.09% 0.0884 -0.1558)
OKLCHoklch(67.09% 0.179 299.6)
XYZxyz(38.5564, 27.8197, 87.3256)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A777F2 #C2F277
analogous
#7784F2 #A777F2 #E577F2
triadic
#A777F2 #F2A777 #77F2A7
tetradic
#A777F2 #F27784 #C2F277 #77F2E5
square
#A777F2 #F27784 #C2F277 #77F2E5
split-complementary
#A777F2 #F2E577 #84F277
monochromatic
#6215DA #833FED #A777F2 #CBAFF7 #EDE3FC

Accessibility & contrast

On white

3.20
#A777F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A777F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A777F2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A777F2#FFFFFF#000000##000000
##A777F21.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B90F6
Deuteranopia (green-blind)
#588FEF
Tritanopia (blue-blind)
#988EA9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a777f2;
/* rgb */ color: rgb(167, 119, 242);
/* oklch */ color: oklch(67.1% 0.179 299.6);
Tailwind
colors: {
  custom: {
    50: '#c49ff7',
    500: '#a777f2',
    950: '#000000',
  },
}
SCSS
$custom: #a777f2;
$custom-light: #c49ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a777f2",
  "rgb": {
    "r": 167,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 263.415,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67091,
    "c": 0.17916,
    "h": 299.6
  },
  "luminance": 0.2782
}

Semantic roles & 50–950 ramp

primary
#A777F2
secondary
#E6F3D2
accent
#DF078B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A777F2

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

Preview Lab → · Contrast checker → · Palette generator →

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