#A77FF2#A77FF2

#A77FF2 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.4% C 0.167 H 297.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A77FF2
RGBrgb(167, 127, 242)
HSLhsl(261, 82%, 72%)
HSVhsv(261, 48%, 95%)
CMYKcmyk(31%, 47.5%, 0%, 5.1%)
CIE-LABlab(61.49, 39.29, -52.46)
CIE-LCHlch(61.49, 65.54, 306.83°)
OKLaboklab(68.4% 0.0781 -0.1476)
OKLCHoklch(68.4% 0.167 297.9)
XYZxyz(39.5489, 29.8046, 87.6564)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77FF2 #CAF27F
analogous
#7F90F2 #A77FF2 #E17FF2
triadic
#A77FF2 #F2A77F #7FF2A7
tetradic
#A77FF2 #F27F90 #CAF27F #7FF2E1
square
#A77FF2 #F27F90 #CAF27F #7FF2E1
split-complementary
#A77FF2 #F2E17F #90F27F
monochromatic
#5D17E0 #8147EC #A77FF2 #CDB7F8 #ECE3FC

Accessibility & contrast

On white

3.02
#A77FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A77FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77FF2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77FF2#FFFFFF#000000##000000
##A77FF21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#9794AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a77ff2;
/* rgb */ color: rgb(167, 127, 242);
/* oklch */ color: oklch(68.4% 0.167 297.9);
Tailwind
colors: {
  custom: {
    50: '#c4a5f7',
    500: '#a77ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a77ff2;
$custom-light: #c4a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ff2",
  "rgb": {
    "r": 167,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 260.87,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68403,
    "c": 0.16703,
    "h": 297.9
  },
  "luminance": 0.29805
}

Semantic roles & 50–950 ramp

primary
#A77FF2
secondary
#EAF4D7
accent
#DE0893
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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