#771B98#771B98

#771B98 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.192 H 314.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#771B98
RGBrgb(119, 27, 152)
HSLhsl(284, 70%, 35%)
HSVhsv(284, 82%, 60%)
CMYKcmyk(21.7%, 82.2%, 0%, 40.4%)
CIE-LABlab(31.75, 56.14, -48.29)
CIE-LCHlch(31.75, 74.05, 319.30°)
OKLaboklab(43.7% 0.1354 -0.1365)
OKLCHoklch(43.7% 0.192 314.8)
XYZxyz(13.6662, 6.9733, 30.3258)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B98 #3C981B
analogous
#391B98 #771B98 #981B7A
triadic
#771B98 #98771B #1B9877
tetradic
#771B98 #98391B #3C981B #1B7A98
square
#771B98 #98391B #3C981B #1B7A98
split-complementary
#771B98 #7A981B #1B9839
monochromatic
#260930 #4E1264 #771B98 #A024CC #B94EE0

Accessibility & contrast

On white

8.77
#771B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#771B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B98
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B98#FFFFFF#000000##FFFFFF
##771B981.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771b98;
/* rgb */ color: rgb(119, 27, 152);
/* oklch */ color: oklch(43.7% 0.192 314.8);
Tailwind
colors: {
  custom: {
    50: '#a364b7',
    500: '#771b98',
    950: '#000000',
  },
}
SCSS
$custom: #771b98;
$custom-light: #a364b7;
$custom-dark: #000000;
JSON
{
  "hex": "#771b98",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 284.16,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.19224,
    "h": 314.8
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#771B98
secondary
#6CC24D
accent
#ED3B6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771B98

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

Preview Lab → · Contrast checker → · Palette generator →

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