#A77AF7#A77AF7

#A77AF7 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.9% C 0.181 H 298.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A77AF7
RGBrgb(167, 122, 247)
HSLhsl(262, 89%, 72%)
HSVhsv(262, 51%, 97%)
CMYKcmyk(32.4%, 50.6%, 0%, 3.1%)
CIE-LABlab(60.65, 43.31, -56.55)
CIE-LCHlch(60.65, 71.23, 307.45°)
OKLaboklab(67.86% 0.085 -0.1596)
OKLCHoklch(67.86% 0.181 298)
XYZxyz(39.6803, 28.8495, 91.4556)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77AF7 #CAF77A
analogous
#7A8CF7 #A77AF7 #E57AF7
triadic
#A77AF7 #F7A77A #7AF7A7
tetradic
#A77AF7 #F77A8C #CAF77A #7AF7E5
square
#A77AF7 #F77A8C #CAF77A #7AF7E5
split-complementary
#A77AF7 #F7E57A #8CF77A
monochromatic
#5D0EE9 #8140F4 #A77AF7 #CDB4FA #ECE2FD

Accessibility & contrast

On white

3.10
#A77AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A77AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77AF7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77AF7#FFFFFF#000000##000000
##A77AF71.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#9692AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77af7;
/* rgb */ color: rgb(167, 122, 247);
/* oklch */ color: oklch(67.9% 0.181 298.0);
Tailwind
colors: {
  custom: {
    50: '#c5a1fa',
    500: '#a77af7',
    950: '#000000',
  },
}
SCSS
$custom: #a77af7;
$custom-light: #c5a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a77af7",
  "rgb": {
    "r": 167,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 261.6,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67865,
    "c": 0.18082,
    "h": 298
  },
  "luminance": 0.2885
}

Semantic roles & 50–950 ramp

primary
#A77AF7
secondary
#EAF5D6
accent
#E50093
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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