#771AB3#771AB3

#771AB3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.8% C 0.217 H 306.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#771AB3
RGBrgb(119, 26, 179)
HSLhsl(276, 75%, 40%)
HSVhsv(276, 85%, 70%)
CMYKcmyk(33.5%, 85.5%, 0%, 29.8%)
CIE-LABlab(33.81, 62.04, -61.22)
CIE-LCHlch(33.81, 87.16, 315.38°)
OKLaboklab(45.8% 0.1289 -0.1745)
OKLCHoklch(45.8% 0.217 306.5)
XYZxyz(16.1120, 7.9156, 43.3181)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771AB3 #56B31A
analogous
#2B1AB3 #771AB3 #B31AA2
triadic
#771AB3 #B3771A #1AB377
tetradic
#771AB3 #B32B1A #56B31A #1AA2B3
square
#771AB3 #B32B1A #56B31A #1AA2B3
split-complementary
#771AB3 #A2B31A #1AB32B
monochromatic
#300A48 #53127E #771AB3 #992AE0 #B260E8

Accessibility & contrast

On white

8.13
#771AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#771AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771AB3
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771AB3#FFFFFF#000000##FFFFFF
##771AB31.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#6C466A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #771ab3;
/* rgb */ color: rgb(119, 26, 179);
/* oklch */ color: oklch(45.8% 0.217 306.5);
Tailwind
colors: {
  custom: {
    50: '#a566cb',
    500: '#771ab3',
    950: '#000000',
  },
}
SCSS
$custom: #771ab3;
$custom-light: #a566cb;
$custom-dark: #000000;
JSON
{
  "hex": "#771ab3",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 276.471,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.2169,
    "h": 306.5
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#771AB3
secondary
#88CC5D
accent
#F13780
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #771AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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