#A77FF5#A77FF5

#A77FF5 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.171 H 297.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A77FF5
RGBrgb(167, 127, 245)
HSLhsl(260, 86%, 73%)
HSVhsv(260, 48%, 96%)
CMYKcmyk(31.8%, 48.2%, 0%, 3.9%)
CIE-LABlab(61.64, 40.04, -53.86)
CIE-LCHlch(61.64, 67.12, 306.62°)
OKLaboklab(68.57% 0.0785 -0.1517)
OKLCHoklch(68.57% 0.171 297.3)
XYZxyz(40.0031, 29.9863, 90.0489)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77FF5 #CDF57F
analogous
#7F92F5 #A77FF5 #E27FF5
triadic
#A77FF5 #F5A77F #7FF5A7
tetradic
#A77FF5 #F57F92 #CDF57F #7FF5E2
square
#A77FF5 #F57F92 #CDF57F #7FF5E2
split-complementary
#A77FF5 #F5E27F #92F57F
monochromatic
#5A12E8 #8046F1 #A77FF5 #CEB8F9 #EBE3FD

Accessibility & contrast

On white

3.00
#A77FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#A77FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A77FF5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77FF5#FFFFFF#000000##000000
##A77FF51.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F9
Deuteranopia (green-blind)
#6094F2
Tritanopia (blue-blind)
#9695AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a77ff5;
/* rgb */ color: rgb(167, 127, 245);
/* oklch */ color: oklch(68.6% 0.171 297.3);
Tailwind
colors: {
  custom: {
    50: '#c4a5f9',
    500: '#a77ff5',
    950: '#000000',
  },
}
SCSS
$custom: #a77ff5;
$custom-light: #c4a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ff5",
  "rgb": {
    "r": 167,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 260.339,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68571,
    "c": 0.17082,
    "h": 297.3
  },
  "luminance": 0.29987
}

Semantic roles & 50–950 ramp

primary
#A77FF5
secondary
#EAF5D6
accent
#E20397
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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