#A77CEF#A77CEF

#A77CEF is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.168 H 299.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A77CEF
RGBrgb(167, 124, 239)
HSLhsl(262, 78%, 71%)
HSVhsv(262, 48%, 94%)
CMYKcmyk(30.1%, 48.1%, 0%, 6.3%)
CIE-LABlab(60.66, 40.22, -52.11)
CIE-LCHlch(60.66, 65.83, 307.67°)
OKLaboklab(67.74% 0.0817 -0.1466)
OKLCHoklch(67.74% 0.168 299.1)
XYZxyz(38.7203, 28.8625, 85.1757)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77CEF #C4EF7C
analogous
#7C8AEF #A77CEF #E07CEF
triadic
#A77CEF #EFA77C #7CEFA7
tetradic
#A77CEF #EF7C8A #C4EF7C #7CEFE0
square
#A77CEF #EF7C8A #C4EF7C #7CEFE0
split-complementary
#A77CEF #EFE07C #8AEF7C
monochromatic
#611AD6 #8245E8 #A77CEF #CCB3F6 #EDE4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A77CEF#FFFFFF#000000##000000
##A77CEF1.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)
#5692F3
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#9891AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77cef;
/* rgb */ color: rgb(167, 124, 239);
/* oklch */ color: oklch(67.7% 0.168 299.1);
Tailwind
colors: {
  custom: {
    50: '#c4a3f5',
    500: '#a77cef',
    950: '#000000',
  },
}
SCSS
$custom: #a77cef;
$custom-light: #c4a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a77cef",
  "rgb": {
    "r": 167,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 262.435,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67735,
    "c": 0.16783,
    "h": 299.1
  },
  "luminance": 0.28863
}

Semantic roles & 50–950 ramp

primary
#A77CEF
secondary
#E7F3D4
accent
#DA0B8D
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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