#771DAD#771DAD

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

Color values

HEX#771DAD
RGBrgb(119, 29, 173)
HSLhsl(278, 71%, 40%)
HSVhsv(278, 83%, 68%)
CMYKcmyk(31.2%, 83.2%, 0%, 32.2%)
CIE-LABlab(33.60, 59.89, -57.98)
CIE-LCHlch(33.60, 83.36, 315.93°)
OKLaboklab(45.5% 0.1287 -0.165)
OKLCHoklch(45.5% 0.209 308)
XYZxyz(15.5883, 7.8180, 40.2149)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771DAD #53AD1D
analogous
#2F1DAD #771DAD #AD1D9B
triadic
#771DAD #AD771D #1DAD77
tetradic
#771DAD #AD2F1D #53AD1D #1D9BAD
square
#771DAD #AD2F1D #53AD1D #1D9BAD
split-complementary
#771DAD #9BAD1D #1DAD2F
monochromatic
#2F0B44 #531479 #771DAD #9A2CDC #B360E4

Accessibility & contrast

On white

8.19
#771DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#771DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771DAD
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771DAD#FFFFFF#000000##FFFFFF
##771DAD1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.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: #771dad;
/* rgb */ color: rgb(119, 29, 173);
/* oklch */ color: oklch(45.5% 0.209 308.0);
Tailwind
colors: {
  custom: {
    50: '#a466c6',
    500: '#771dad',
    950: '#000000',
  },
}
SCSS
$custom: #771dad;
$custom-light: #a466c6;
$custom-dark: #000000;
JSON
{
  "hex": "#771dad",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 173
  },
  "hsl": {
    "h": 277.5,
    "s": 71.287,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.20924,
    "h": 308
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#771DAD
secondary
#85C95D
accent
#EE3A7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #771DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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