#A776F2#A776F2

#A776F2 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.181 H 299.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A776F2
RGBrgb(167, 118, 242)
HSLhsl(264, 83%, 71%)
HSVhsv(264, 51%, 95%)
CMYKcmyk(31%, 51.2%, 0%, 5.1%)
CIE-LABlab(59.51, 44.28, -55.60)
CIE-LCHlch(59.51, 71.08, 308.53°)
OKLaboklab(66.93% 0.0897 -0.1568)
OKLCHoklch(66.93% 0.181 299.8)
XYZxyz(38.4380, 27.5829, 87.2861)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A776F2 #C1F276
analogous
#7683F2 #A776F2 #E576F2
triadic
#A776F2 #F2A776 #76F2A7
tetradic
#A776F2 #F27683 #C1F276 #76F2E5
square
#A776F2 #F27683 #C1F276 #76F2E5
split-complementary
#A776F2 #F2E576 #83F276
monochromatic
#6215D9 #833EED #A776F2 #CBAEF7 #EDE3FC

Accessibility & contrast

On white

3.22
#A776F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A776F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A776F2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A776F2#FFFFFF#000000##000000
##A776F21.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#988EA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a776f2;
/* rgb */ color: rgb(167, 118, 242);
/* oklch */ color: oklch(66.9% 0.181 299.8);
Tailwind
colors: {
  custom: {
    50: '#c49ff7',
    500: '#a776f2',
    950: '#000000',
  },
}
SCSS
$custom: #a776f2;
$custom-light: #c49ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a776f2",
  "rgb": {
    "r": 167,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 263.71,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66931,
    "c": 0.18065,
    "h": 299.8
  },
  "luminance": 0.27583
}

Semantic roles & 50–950 ramp

primary
#A776F2
secondary
#E5F3D1
accent
#DF0689
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A776F2

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

Preview Lab → · Contrast checker → · Palette generator →

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