#771D98#771D98

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

Color values

HEX#771D98
RGBrgb(119, 29, 152)
HSLhsl(284, 68%, 35%)
HSVhsv(284, 81%, 60%)
CMYKcmyk(21.7%, 80.9%, 0%, 40.4%)
CIE-LABlab(31.96, 55.51, -47.94)
CIE-LCHlch(31.96, 73.35, 319.19°)
OKLaboklab(43.85% 0.1338 -0.1355)
OKLCHoklch(43.85% 0.19 314.7)
XYZxyz(13.7137, 7.0682, 30.3416)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D98 #3E981D
analogous
#391D98 #771D98 #981D7C
triadic
#771D98 #98771D #1D9877
tetradic
#771D98 #98391D #3E981D #1D7C98
square
#771D98 #98391D #3E981D #1D7C98
split-complementary
#771D98 #7C981D #1D9839
monochromatic
#270931 #4F1365 #771D98 #9F27CB #B852DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771D98#FFFFFF#000000##FFFFFF
##771D981.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)
#00469B
Deuteranopia (green-blind)
#144D95
Tritanopia (blue-blind)
#743B5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771d98;
/* rgb */ color: rgb(119, 29, 152);
/* oklch */ color: oklch(43.8% 0.190 314.7);
Tailwind
colors: {
  custom: {
    50: '#a365b7',
    500: '#771d98',
    950: '#000000',
  },
}
SCSS
$custom: #771d98;
$custom-light: #a365b7;
$custom-dark: #000000;
JSON
{
  "hex": "#771d98",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 283.902,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.19042,
    "h": 314.7
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#771D98
secondary
#6EC150
accent
#EB3D6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771D98

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

Preview Lab → · Contrast checker → · Palette generator →

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