#A776F5#A776F5

#A776F5 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.1% C 0.184 H 299.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A776F5
RGBrgb(167, 118, 245)
HSLhsl(263, 86%, 71%)
HSVhsv(263, 52%, 96%)
CMYKcmyk(31.8%, 51.8%, 0%, 3.9%)
CIE-LABlab(59.68, 45.02, -57.00)
CIE-LCHlch(59.68, 72.63, 308.30°)
OKLaboklab(67.11% 0.0899 -0.1609)
OKLCHoklch(67.11% 0.184 299.2)
XYZxyz(38.8923, 27.7646, 89.6786)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A776F5 #C4F576
analogous
#7684F5 #A776F5 #E776F5
triadic
#A776F5 #F5A776 #76F5A7
tetradic
#A776F5 #F57684 #C4F576 #76F5E7
square
#A776F5 #F57684 #C4F576 #76F5E7
split-complementary
#A776F5 #F5E776 #84F576
monochromatic
#6110E0 #823DF1 #A776F5 #CCAFF9 #EDE2FD

Accessibility & contrast

On white

3.20
#A776F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#A776F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A776F5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A776F5#FFFFFF#000000##000000
##A776F51.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#548FF2
Tritanopia (blue-blind)
#978FAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a776f5;
/* rgb */ color: rgb(167, 118, 245);
/* oklch */ color: oklch(67.1% 0.184 299.2);
Tailwind
colors: {
  custom: {
    50: '#c59ff9',
    500: '#a776f5',
    950: '#000000',
  },
}
SCSS
$custom: #a776f5;
$custom-light: #c59ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#a776f5",
  "rgb": {
    "r": 167,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 263.15,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67107,
    "c": 0.18431,
    "h": 299.2
  },
  "luminance": 0.27765
}

Semantic roles & 50–950 ramp

primary
#A776F5
secondary
#E7F4D3
accent
#E3038C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A776F5

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

Preview Lab → · Contrast checker → · Palette generator →

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