#771AA7#771AA7

#771AA7 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.206 H 309.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#771AA7
RGBrgb(119, 26, 167)
HSLhsl(280, 73%, 38%)
HSVhsv(280, 84%, 65%)
CMYKcmyk(28.7%, 84.4%, 0%, 34.5%)
CIE-LABlab(32.81, 59.51, -55.66)
CIE-LCHlch(32.81, 81.48, 316.91°)
OKLaboklab(44.81% 0.1324 -0.1581)
OKLCHoklch(44.81% 0.206 309.9)
XYZxyz(14.9508, 7.4511, 37.2023)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771AA7 #4AA71A
analogous
#301AA7 #771AA7 #A71A91
triadic
#771AA7 #A7771A #1AA777
tetradic
#771AA7 #A7301A #4AA71A #1A91A7
square
#771AA7 #A7301A #4AA71A #1A91A7
split-complementary
#771AA7 #91A71A #1AA730
monochromatic
#2C0A3D #511272 #771AA7 #9D22DC #B457E5

Accessibility & contrast

On white

8.43
#771AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#771AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771AA7
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771AA7#FFFFFF#000000##FFFFFF
##771AA71.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#704163
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #771aa7;
/* rgb */ color: rgb(119, 26, 167);
/* oklch */ color: oklch(44.8% 0.206 309.9);
Tailwind
colors: {
  custom: {
    50: '#a465c2',
    500: '#771aa7',
    950: '#000000',
  },
}
SCSS
$custom: #771aa7;
$custom-light: #a465c2;
$custom-dark: #000000;
JSON
{
  "hex": "#771aa7",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 167
  },
  "hsl": {
    "h": 279.574,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44805,
    "c": 0.20626,
    "h": 309.9
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#771AA7
secondary
#7CC855
accent
#F03877
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771AA7

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

Preview Lab → · Contrast checker → · Palette generator →

#771AA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva