#771CAD#771CAD

#771CAD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.210 H 308.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#771CAD
RGBrgb(119, 28, 173)
HSLhsl(278, 72%, 39%)
HSVhsv(278, 84%, 68%)
CMYKcmyk(31.2%, 83.8%, 0%, 32.2%)
CIE-LABlab(33.50, 60.19, -58.14)
CIE-LCHlch(33.50, 83.69, 315.99°)
OKLaboklab(45.43% 0.1294 -0.1654)
OKLCHoklch(45.43% 0.21 308)
XYZxyz(15.5642, 7.7698, 40.2069)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771CAD #52AD1C
analogous
#2F1CAD #771CAD #AD1C9B
triadic
#771CAD #AD771C #1CAD77
tetradic
#771CAD #AD2F1C #52AD1C #1C9BAD
square
#771CAD #AD2F1C #52AD1C #1C9BAD
split-complementary
#771CAD #9BAD1C #1CAD2F
monochromatic
#2F0B44 #531378 #771CAD #9A2ADC #B35EE5

Accessibility & contrast

On white

8.22
#771CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#771CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771CAD
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771CAD#FFFFFF#000000##FFFFFF
##771CAD1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#6E4467
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #771cad;
/* rgb */ color: rgb(119, 28, 173);
/* oklch */ color: oklch(45.4% 0.210 308.0);
Tailwind
colors: {
  custom: {
    50: '#a466c6',
    500: '#771cad',
    950: '#000000',
  },
}
SCSS
$custom: #771cad;
$custom-light: #a466c6;
$custom-dark: #000000;
JSON
{
  "hex": "#771cad",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 173
  },
  "hsl": {
    "h": 277.655,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.21004,
    "h": 308
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#771CAD
secondary
#84C95C
accent
#EF397D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #771CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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