#771B95#771B95

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

Color values

HEX#771B95
RGBrgb(119, 27, 149)
HSLhsl(285, 69%, 35%)
HSVhsv(285, 82%, 58%)
CMYKcmyk(20.1%, 81.9%, 0%, 41.6%)
CIE-LABlab(31.52, 55.54, -46.81)
CIE-LCHlch(31.52, 72.64, 319.87°)
OKLaboklab(43.47% 0.136 -0.1321)
OKLCHoklch(43.47% 0.19 315.8)
XYZxyz(13.4236, 6.8763, 29.0481)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B95 #39951B
analogous
#3A1B95 #771B95 #951B76
triadic
#771B95 #95771B #1B9577
tetradic
#771B95 #953A1B #39951B #1B7695
square
#771B95 #953A1B #39951B #1B7695
split-complementary
#771B95 #76951B #1B953A
monochromatic
#24082D #4E1261 #771B95 #A024C9 #BA4CDF

Accessibility & contrast

On white

8.84
#771B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771B95
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B95#FFFFFF#000000##FFFFFF
##771B951.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771b95;
/* rgb */ color: rgb(119, 27, 149);
/* oklch */ color: oklch(43.5% 0.190 315.8);
Tailwind
colors: {
  custom: {
    50: '#a264b5',
    500: '#771b95',
    950: '#000000',
  },
}
SCSS
$custom: #771b95;
$custom-light: #a264b5;
$custom-dark: #000000;
JSON
{
  "hex": "#771b95",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 285.246,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.18962,
    "h": 315.8
  },
  "luminance": 0.06876
}

Semantic roles & 50–950 ramp

primary
#771B95
secondary
#68C14B
accent
#EC3C67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771B95

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

Preview Lab → · Contrast checker → · Palette generator →

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