#771C95#771C95

#771C95 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.189 H 315.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#771C95
RGBrgb(119, 28, 149)
HSLhsl(285, 68%, 35%)
HSVhsv(285, 81%, 58%)
CMYKcmyk(20.1%, 81.2%, 0%, 41.6%)
CIE-LABlab(31.63, 55.23, -46.64)
CIE-LCHlch(31.63, 72.29, 319.82°)
OKLaboklab(43.54% 0.1352 -0.1316)
OKLCHoklch(43.54% 0.189 315.8)
XYZxyz(13.4470, 6.9229, 29.0559)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C95 #3A951C
analogous
#3B1C95 #771C95 #951C77
triadic
#771C95 #95771C #1C9577
tetradic
#771C95 #953B1C #3A951C #1C7795
square
#771C95 #953B1C #3A951C #1C7795
split-complementary
#771C95 #77951C #1C953B
monochromatic
#25092E #4E1261 #771C95 #A026C9 #BA4EDE

Accessibility & contrast

On white

8.81
#771C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#771C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C95
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C95#FFFFFF#000000##FFFFFF
##771C951.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#184D92
Tritanopia (blue-blind)
#753959
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771c95;
/* rgb */ color: rgb(119, 28, 149);
/* oklch */ color: oklch(43.5% 0.189 315.8);
Tailwind
colors: {
  custom: {
    50: '#a265b5',
    500: '#771c95',
    950: '#000000',
  },
}
SCSS
$custom: #771c95;
$custom-light: #a265b5;
$custom-dark: #000000;
JSON
{
  "hex": "#771c95",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 285.124,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43544,
    "c": 0.1887,
    "h": 315.8
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#771C95
secondary
#69C04D
accent
#EB3D68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771C95

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

Preview Lab → · Contrast checker → · Palette generator →

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