#771886#771886

#771886 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.180 H 321.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#771886
RGBrgb(119, 24, 134)
HSLhsl(292, 70%, 31%)
HSVhsv(292, 82%, 53%)
CMYKcmyk(11.2%, 82.1%, 0%, 47.5%)
CIE-LABlab(30.15, 53.55, -39.75)
CIE-LCHlch(30.15, 66.69, 323.41°)
OKLaboklab(42.17% 0.1408 -0.1114)
OKLCHoklch(42.17% 0.18 321.6)
XYZxyz(12.2370, 6.2971, 23.1206)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771886 #278618
analogous
#401886 #771886 #86185E
triadic
#771886 #867718 #188677
tetradic
#771886 #864018 #278618 #185E86
square
#771886 #864018 #278618 #185E86
split-complementary
#771886 #5E8618 #188640
monochromatic
#1B051E #490F52 #771886 #A521BA #C63CDC

Accessibility & contrast

On white

9.30
#771886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#771886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771886
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771886#FFFFFF#000000##FFFFFF
##7718861.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#284A84
Tritanopia (blue-blind)
#783050
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771886;
/* rgb */ color: rgb(119, 24, 134);
/* oklch */ color: oklch(42.2% 0.180 321.6);
Tailwind
colors: {
  custom: {
    50: '#a262aa',
    500: '#771886',
    950: '#000000',
  },
}
SCSS
$custom: #771886;
$custom-light: #a262aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771886",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 291.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42166,
    "c": 0.17951,
    "h": 321.6
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#771886
secondary
#51BA40
accent
#EC3B54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771886

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

Preview Lab → · Contrast checker → · Palette generator →

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