#771A98#771A98

#771A98 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.193 H 314.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#771A98
RGBrgb(119, 26, 152)
HSLhsl(284, 71%, 35%)
HSVhsv(284, 83%, 60%)
CMYKcmyk(21.7%, 82.9%, 0%, 40.4%)
CIE-LABlab(31.64, 56.44, -48.46)
CIE-LCHlch(31.64, 74.39, 319.35°)
OKLaboklab(43.62% 0.1361 -0.137)
OKLCHoklch(43.62% 0.193 314.8)
XYZxyz(13.6437, 6.9282, 30.3183)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A98 #3B981A
analogous
#381A98 #771A98 #981A7A
triadic
#771A98 #98771A #1A9877
tetradic
#771A98 #98381A #3B981A #1A7A98
square
#771A98 #98381A #3B981A #1A7A98
split-complementary
#771A98 #7A981A #1A9838
monochromatic
#25082F #4E1164 #771A98 #A023CC #BA4CE0

Accessibility & contrast

On white

8.80
#771A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771A98
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A98#FFFFFF#000000##FFFFFF
##771A981.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#104D95
Tritanopia (blue-blind)
#74395B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771a98;
/* rgb */ color: rgb(119, 26, 152);
/* oklch */ color: oklch(43.6% 0.193 314.8);
Tailwind
colors: {
  custom: {
    50: '#a364b7',
    500: '#771a98',
    950: '#000000',
  },
}
SCSS
$custom: #771a98;
$custom-light: #a364b7;
$custom-dark: #000000;
JSON
{
  "hex": "#771a98",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 284.286,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43623,
    "c": 0.19311,
    "h": 314.8
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#771A98
secondary
#6BC24B
accent
#EE3A69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771A98

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

Preview Lab → · Contrast checker → · Palette generator →

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