#A77DF2#A77DF2

#A77DF2 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.1% C 0.170 H 298.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A77DF2
RGBrgb(167, 125, 242)
HSLhsl(262, 82%, 72%)
HSVhsv(262, 48%, 95%)
CMYKcmyk(31%, 48.3%, 0%, 5.1%)
CIE-LABlab(61.04, 40.41, -53.17)
CIE-LCHlch(61.04, 66.78, 307.24°)
OKLaboklab(68.07% 0.0807 -0.1497)
OKLCHoklch(68.07% 0.17 298.3)
XYZxyz(39.2931, 29.2931, 87.5712)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77DF2 #C8F27D
analogous
#7D8EF2 #A77DF2 #E17DF2
triadic
#A77DF2 #F2A77D #7DF2A7
tetradic
#A77DF2 #F27D8E #C8F27D #7DF2E1
square
#A77DF2 #F27D8E #C8F27D #7DF2E1
split-complementary
#A77DF2 #F2E17D #8EF27D
monochromatic
#5E16DE #8145EC #A77DF2 #CDB5F8 #ECE3FC

Accessibility & contrast

On white

3.06
#A77DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A77DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77DF2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77DF2#FFFFFF#000000##000000
##A77DF21.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F6
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#9793AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77df2;
/* rgb */ color: rgb(167, 125, 242);
/* oklch */ color: oklch(68.1% 0.170 298.3);
Tailwind
colors: {
  custom: {
    50: '#c4a3f7',
    500: '#a77df2',
    950: '#000000',
  },
}
SCSS
$custom: #a77df2;
$custom-light: #c4a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a77df2",
  "rgb": {
    "r": 167,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 261.538,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6807,
    "c": 0.17008,
    "h": 298.3
  },
  "luminance": 0.29294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A77DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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