#771794#771794

#771794 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.192 H 316.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#771794
RGBrgb(119, 23, 148)
HSLhsl(286, 73%, 34%)
HSVhsv(286, 84%, 58%)
CMYKcmyk(19.6%, 84.5%, 0%, 42%)
CIE-LABlab(31.05, 56.50, -46.96)
CIE-LCHlch(31.05, 73.47, 320.27°)
OKLaboklab(43.11% 0.1391 -0.1325)
OKLCHoklch(43.11% 0.192 316.4)
XYZxyz(13.2586, 6.6734, 28.6009)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771794 #349417
analogous
#381794 #771794 #941772
triadic
#771794 #947717 #179477
tetradic
#771794 #943817 #349417 #177294
square
#771794 #943817 #349417 #177294
split-complementary
#771794 #729417 #179438
monochromatic
#22072A #4C0F5F #771794 #A21FC9 #BD44E2

Accessibility & contrast

On white

9.00
#771794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#771794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771794
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771794#FFFFFF#000000##FFFFFF
##7717941.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#154C91
Tritanopia (blue-blind)
#753658
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771794;
/* rgb */ color: rgb(119, 23, 148);
/* oklch */ color: oklch(43.1% 0.192 316.4);
Tailwind
colors: {
  custom: {
    50: '#a363b4',
    500: '#771794',
    950: '#000000',
  },
}
SCSS
$custom: #771794;
$custom-light: #a363b4;
$custom-dark: #000000;
JSON
{
  "hex": "#771794",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 286.08,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43115,
    "c": 0.19216,
    "h": 316.4
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#771794
secondary
#61C344
accent
#F03863
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771794

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

Preview Lab → · Contrast checker → · Palette generator →

#771794 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva