#771E98#771E98

#771E98 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.189 H 314.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#771E98
RGBrgb(119, 30, 152)
HSLhsl(284, 67%, 36%)
HSVhsv(284, 80%, 60%)
CMYKcmyk(21.7%, 80.3%, 0%, 40.4%)
CIE-LABlab(32.07, 55.19, -47.76)
CIE-LCHlch(32.07, 72.98, 319.13°)
OKLaboklab(43.93% 0.133 -0.1349)
OKLCHoklch(43.93% 0.189 314.6)
XYZxyz(13.7386, 7.1180, 30.3499)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E98 #3F981E
analogous
#3A1E98 #771E98 #981E7C
triadic
#771E98 #98771E #1E9877
tetradic
#771E98 #983A1E #3F981E #1E7C98
square
#771E98 #983A1E #3F981E #1E7C98
split-complementary
#771E98 #7C981E #1E983A
monochromatic
#270A32 #4F1465 #771E98 #9F28CB #B853DD

Accessibility & contrast

On white

8.67
#771E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#771E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E98
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E98#FFFFFF#000000##FFFFFF
##771E981.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#154E95
Tritanopia (blue-blind)
#743B5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771e98;
/* rgb */ color: rgb(119, 30, 152);
/* oklch */ color: oklch(43.9% 0.189 314.6);
Tailwind
colors: {
  custom: {
    50: '#a365b7',
    500: '#771e98',
    950: '#000000',
  },
}
SCSS
$custom: #771e98;
$custom-light: #a365b7;
$custom-dark: #000000;
JSON
{
  "hex": "#771e98",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 283.77,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43925,
    "c": 0.18948,
    "h": 314.6
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#771E98
secondary
#6FC051
accent
#EA3E6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771E98

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

Preview Lab → · Contrast checker → · Palette generator →

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