#771778#771778

#771778 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.169 H 327.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#771778
RGBrgb(119, 23, 120)
HSLhsl(299, 68%, 28%)
HSVhsv(299, 81%, 47%)
CMYKcmyk(0.8%, 80.8%, 0%, 52.9%)
CIE-LABlab(29.14, 51.33, -32.56)
CIE-LCHlch(29.14, 60.79, 327.61°)
OKLaboklab(41.16% 0.1428 -0.0904)
OKLCHoklch(41.16% 0.169 327.7)
XYZxyz(11.3042, 5.8916, 18.3075)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771778 #187817
analogous
#461778 #771778 #781749
triadic
#771778 #787717 #177877
tetradic
#771778 #784617 #187817 #174978
square
#771778 #784617 #187817 #174978
split-complementary
#771778 #497817 #177846
monochromatic
#19051A #440D45 #771778 #AA21AB #D632D8

Accessibility & contrast

On white

9.64
#771778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#771778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771778
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771778#FFFFFF#000000##FFFFFF
##7717781.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#7B2847
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771778;
/* rgb */ color: rgb(119, 23, 120);
/* oklch */ color: oklch(41.2% 0.169 327.7);
Tailwind
colors: {
  custom: {
    50: '#a2619f',
    500: '#771778',
    950: '#000000',
  },
}
SCSS
$custom: #771778;
$custom-light: #a2619f;
$custom-dark: #000000;
JSON
{
  "hex": "#771778",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 299.381,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.16898,
    "h": 327.7
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#771778
secondary
#3FAD3E
accent
#EB3D3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771778

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

Preview Lab → · Contrast checker → · Palette generator →

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