#A77FF8#A77FF8

#A77FF8 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.7% C 0.175 H 296.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A77FF8
RGBrgb(167, 127, 248)
HSLhsl(260, 90%, 74%)
HSVhsv(260, 49%, 97%)
CMYKcmyk(32.7%, 48.8%, 0%, 2.7%)
CIE-LABlab(61.80, 40.79, -55.27)
CIE-LCHlch(61.80, 68.69, 306.43°)
OKLaboklab(68.74% 0.0787 -0.1558)
OKLCHoklch(68.74% 0.175 296.8)
XYZxyz(40.4648, 30.1710, 92.4804)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77FF8 #D0F87F
analogous
#7F93F8 #A77FF8 #E47FF8
triadic
#A77FF8 #F8A77F #7FF8A7
tetradic
#A77FF8 #F87F93 #D0F87F #7FF8E4
square
#A77FF8 #F87F93 #D0F87F #7FF8E4
split-complementary
#A77FF8 #F8E47F #93F87F
monochromatic
#580DF0 #7F45F5 #A77FF8 #CFB9FB #EBE2FD

Accessibility & contrast

On white

2.99
#A77FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#A77FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A77FF8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77FF8#FFFFFF#000000##000000
##A77FF81.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#5D94F5
Tritanopia (blue-blind)
#9596B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a77ff8;
/* rgb */ color: rgb(167, 127, 248);
/* oklch */ color: oklch(68.7% 0.175 296.8);
Tailwind
colors: {
  custom: {
    50: '#c4a5fb',
    500: '#a77ff8',
    950: '#000000',
  },
}
SCSS
$custom: #a77ff8;
$custom-light: #c4a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ff8",
  "rgb": {
    "r": 167,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 259.835,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68742,
    "c": 0.17459,
    "h": 296.8
  },
  "luminance": 0.30172
}

Semantic roles & 50–950 ramp

primary
#A77FF8
secondary
#EBF5D6
accent
#E6009A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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