#771EA9#771EA9

#771EA9 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.3% C 0.205 H 309.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#771EA9
RGBrgb(119, 30, 169)
HSLhsl(278, 70%, 39%)
HSVhsv(278, 82%, 66%)
CMYKcmyk(29.6%, 82.2%, 0%, 33.7%)
CIE-LABlab(33.38, 58.73, -55.93)
CIE-LCHlch(33.38, 81.10, 316.40°)
OKLaboklab(45.25% 0.1291 -0.1589)
OKLCHoklch(45.25% 0.205 309.1)
XYZxyz(15.2320, 7.7153, 38.2152)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771EA9 #50A91E
analogous
#321EA9 #771EA9 #A91E96
triadic
#771EA9 #A9771E #1EA977
tetradic
#771EA9 #A9321E #50A91E #1E96A9
square
#771EA9 #A9321E #50A91E #1E96A9
split-complementary
#771EA9 #96A91E #1EA932
monochromatic
#2E0C41 #521575 #771EA9 #9B2BD9 #B35FE3

Accessibility & contrast

On white

8.26
#771EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#771EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771EA9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771EA9#FFFFFF#000000##FFFFFF
##771EA91.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#6F4365
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #771ea9;
/* rgb */ color: rgb(119, 30, 169);
/* oklch */ color: oklch(45.3% 0.205 309.1);
Tailwind
colors: {
  custom: {
    50: '#a466c3',
    500: '#771ea9',
    950: '#000000',
  },
}
SCSS
$custom: #771ea9;
$custom-light: #a466c3;
$custom-dark: #000000;
JSON
{
  "hex": "#771ea9",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 278.417,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45251,
    "c": 0.20479,
    "h": 309.1
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

primary
#771EA9
secondary
#82C75C
accent
#ED3B7B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #771EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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