#A77DFB#A77DFB

#A77DFB is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.6% C 0.181 H 296.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A77DFB
RGBrgb(167, 125, 251)
HSLhsl(260, 94%, 74%)
HSVhsv(260, 50%, 98%)
CMYKcmyk(33.5%, 50.2%, 0%, 1.6%)
CIE-LABlab(61.52, 42.65, -57.36)
CIE-LCHlch(61.52, 71.48, 306.63°)
OKLaboklab(68.59% 0.0815 -0.162)
OKLCHoklch(68.59% 0.181 296.7)
XYZxyz(40.6782, 29.8472, 94.8660)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77DFB #D1FB7D
analogous
#7D92FB #A77DFB #E67DFB
triadic
#A77DFB #FBA77D #7DFBA7
tetradic
#A77DFB #FB7D92 #D1FB7D #7DFBE6
square
#A77DFB #FB7D92 #D1FB7D #7DFBE6
split-complementary
#A77DFB #FBE67D #92FB7D
monochromatic
#5708F6 #7F42F9 #A77DFB #CFB8FD #EBE1FE

Accessibility & contrast

On white

3.01
#A77DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#A77DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77DFB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77DFB#FFFFFF#000000##000000
##A77DFB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#9496B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a77dfb;
/* rgb */ color: rgb(167, 125, 251);
/* oklch */ color: oklch(68.6% 0.181 296.7);
Tailwind
colors: {
  custom: {
    50: '#c5a3fd',
    500: '#a77dfb',
    950: '#000000',
  },
}
SCSS
$custom: #a77dfb;
$custom-light: #c5a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a77dfb",
  "rgb": {
    "r": 167,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 260,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68586,
    "c": 0.18133,
    "h": 296.7
  },
  "luminance": 0.29848
}

Semantic roles & 50–950 ramp

primary
#A77DFB
secondary
#EBF6D5
accent
#E60099
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A77DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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