#A77DFD#A77DFD

#A77DFD is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.7% C 0.184 H 296.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A77DFD
RGBrgb(167, 125, 253)
HSLhsl(260, 97%, 74%)
HSVhsv(260, 51%, 99%)
CMYKcmyk(34%, 50.6%, 0%, 0.8%)
CIE-LABlab(61.63, 43.16, -58.29)
CIE-LCHlch(61.63, 72.52, 306.52°)
OKLaboklab(68.7% 0.0817 -0.1647)
OKLCHoklch(68.7% 0.184 296.4)
XYZxyz(40.9951, 29.9740, 96.5352)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77DFD #D3FD7D
analogous
#7D93FD #A77DFD #E77DFD
triadic
#A77DFD #FDA77D #7DFDA7
tetradic
#A77DFD #FD7D93 #D3FD7D #7DFDE7
square
#A77DFD #FD7D93 #D3FD7D #7DFDE7
split-complementary
#A77DFD #FDE77D #93FD7D
monochromatic
#5504FB #7E41FC #A77DFD #D0B9FE #EBE1FF

Accessibility & contrast

On white

3.00
#A77DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#A77DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A77DFD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77DFD#FFFFFF#000000##000000
##A77DFD1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#5793FA
Tritanopia (blue-blind)
#9396B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a77dfd;
/* rgb */ color: rgb(167, 125, 253);
/* oklch */ color: oklch(68.7% 0.184 296.4);
Tailwind
colors: {
  custom: {
    50: '#c5a3ff',
    500: '#a77dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a77dfd;
$custom-light: #c5a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a77dfd",
  "rgb": {
    "r": 167,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 259.688,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68703,
    "c": 0.18382,
    "h": 296.4
  },
  "luminance": 0.29975
}

Semantic roles & 50–950 ramp

primary
#A77DFD
secondary
#EBF7D4
accent
#E6009A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A77DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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