#A77FEC#A77FEC

#A77FEC is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.1% C 0.159 H 299.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A77FEC
RGBrgb(167, 127, 236)
HSLhsl(262, 74%, 71%)
HSVhsv(262, 46%, 93%)
CMYKcmyk(29.2%, 46.2%, 0%, 7.5%)
CIE-LABlab(61.18, 37.81, -49.63)
CIE-LCHlch(61.18, 62.39, 307.30°)
OKLaboklab(68.07% 0.0774 -0.1394)
OKLCHoklch(68.07% 0.159 299.1)
XYZxyz(38.6625, 29.4501, 82.9882)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77FEC #C4EC7F
analogous
#7F8DEC #A77FEC #DD7FEC
triadic
#A77FEC #ECA77F #7FECA7
tetradic
#A77FEC #EC7F8D #C4EC7F #7FECDD
square
#A77FEC #EC7F8D #C4EC7F #7FECDD
split-complementary
#A77FEC #ECDD7F #8DEC7F
monochromatic
#611FD2 #824AE4 #A77FEC #CCB4F4 #EDE4FB

Accessibility & contrast

On white

3.05
#A77FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#A77FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77FEC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77FEC#FFFFFF#000000##000000
##A77FEC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F0
Deuteranopia (green-blind)
#6693E9
Tritanopia (blue-blind)
#9993AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a77fec;
/* rgb */ color: rgb(167, 127, 236);
/* oklch */ color: oklch(68.1% 0.159 299.1);
Tailwind
colors: {
  custom: {
    50: '#c4a5f2',
    500: '#a77fec',
    950: '#000000',
  },
}
SCSS
$custom: #a77fec;
$custom-light: #c4a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a77fec",
  "rgb": {
    "r": 167,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 262.018,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68072,
    "c": 0.15942,
    "h": 299.1
  },
  "luminance": 0.2945
}

Semantic roles & 50–950 ramp

primary
#A77FEC
secondary
#E7F2D5
accent
#D60F8D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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