#771F95#771F95

#771F95 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.186 H 315.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#771F95
RGBrgb(119, 31, 149)
HSLhsl(285, 66%, 35%)
HSVhsv(285, 79%, 58%)
CMYKcmyk(20.1%, 79.2%, 0%, 41.6%)
CIE-LABlab(31.97, 54.24, -46.09)
CIE-LCHlch(31.97, 71.18, 319.65°)
OKLaboklab(43.78% 0.1327 -0.13)
OKLCHoklch(43.78% 0.186 315.6)
XYZxyz(13.5217, 7.0724, 29.0808)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F95 #3D951F
analogous
#3C1F95 #771F95 #951F78
triadic
#771F95 #95771F #1F9577
tetradic
#771F95 #953C1F #3D951F #1F7895
square
#771F95 #953C1F #3D951F #1F7895
split-complementary
#771F95 #78951F #1F953C
monochromatic
#260A30 #4F1462 #771F95 #9F2AC8 #B953DB

Accessibility & contrast

On white

8.70
#771F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#771F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F95
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F95#FFFFFF#000000##FFFFFF
##771F951.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#1B4D92
Tritanopia (blue-blind)
#753A5A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771f95;
/* rgb */ color: rgb(119, 31, 149);
/* oklch */ color: oklch(43.8% 0.186 315.6);
Tailwind
colors: {
  custom: {
    50: '#a266b5',
    500: '#771f95',
    950: '#000000',
  },
}
SCSS
$custom: #771f95;
$custom-light: #a266b5;
$custom-dark: #000000;
JSON
{
  "hex": "#771f95",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 284.746,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43784,
    "c": 0.18582,
    "h": 315.6
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#771F95
secondary
#6DBF51
accent
#E93F6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771F95

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

Preview Lab → · Contrast checker → · Palette generator →

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