#771CB4#771CB4

#771CB4 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 46.0% C 0.216 H 306.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#771CB4
RGBrgb(119, 28, 180)
HSLhsl(276, 73%, 41%)
HSVhsv(276, 84%, 71%)
CMYKcmyk(33.9%, 84.4%, 0%, 29.4%)
CIE-LABlab(34.08, 61.69, -61.37)
CIE-LCHlch(34.08, 87.01, 315.15°)
OKLaboklab(46.02% 0.1273 -0.1749)
OKLCHoklch(46.02% 0.216 306.1)
XYZxyz(16.2594, 8.0479, 43.8680)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771CB4 #59B41C
analogous
#2B1CB4 #771CB4 #B41CA5
triadic
#771CB4 #B4771C #1CB477
tetradic
#771CB4 #B42B1C #59B41C #1CA5B4
square
#771CB4 #B42B1C #59B41C #1CA5B4
split-complementary
#771CB4 #A5B41C #1CB42B
monochromatic
#310C4A #54147F #771CB4 #982FDF #B264E7

Accessibility & contrast

On white

8.05
#771CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#771CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771CB4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771CB4#FFFFFF#000000##FFFFFF
##771CB41.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#6C476B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #771cb4;
/* rgb */ color: rgb(119, 28, 180);
/* oklch */ color: oklch(46.0% 0.216 306.1);
Tailwind
colors: {
  custom: {
    50: '#a566cb',
    500: '#771cb4',
    950: '#000000',
  },
}
SCSS
$custom: #771cb4;
$custom-light: #a566cb;
$custom-dark: #000000;
JSON
{
  "hex": "#771cb4",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 275.921,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46018,
    "c": 0.21633,
    "h": 306.1
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#771CB4
secondary
#8BCC60
accent
#F03882
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #771CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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