#771C98#771C98

#771C98 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.8% C 0.191 H 314.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#771C98
RGBrgb(119, 28, 152)
HSLhsl(284, 69%, 35%)
HSVhsv(284, 82%, 60%)
CMYKcmyk(21.7%, 81.6%, 0%, 40.4%)
CIE-LABlab(31.85, 55.83, -48.12)
CIE-LCHlch(31.85, 73.71, 319.24°)
OKLaboklab(43.77% 0.1346 -0.136)
OKLCHoklch(43.77% 0.191 314.7)
XYZxyz(13.6895, 7.0199, 30.3335)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C98 #3D981C
analogous
#391C98 #771C98 #981C7B
triadic
#771C98 #98771C #1C9877
tetradic
#771C98 #98391C #3D981C #1C7B98
square
#771C98 #98391C #3D981C #1C7B98
split-complementary
#771C98 #7B981C #1C9839
monochromatic
#260931 #4F1264 #771C98 #9F26CC #B950DF

Accessibility & contrast

On white

8.74
#771C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#771C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C98
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C98#FFFFFF#000000##FFFFFF
##771C981.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#124D95
Tritanopia (blue-blind)
#743A5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771c98;
/* rgb */ color: rgb(119, 28, 152);
/* oklch */ color: oklch(43.8% 0.191 314.7);
Tailwind
colors: {
  custom: {
    50: '#a365b7',
    500: '#771c98',
    950: '#000000',
  },
}
SCSS
$custom: #771c98;
$custom-light: #a365b7;
$custom-dark: #000000;
JSON
{
  "hex": "#771c98",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 284.032,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4377,
    "c": 0.19135,
    "h": 314.7
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#771C98
secondary
#6DC14E
accent
#EC3C6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771C98

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

Preview Lab → · Contrast checker → · Palette generator →

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