#771B8F#771B8F

#771B8F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.184 H 318.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#771B8F
RGBrgb(119, 27, 143)
HSLhsl(288, 68%, 33%)
HSVhsv(288, 81%, 56%)
CMYKcmyk(16.8%, 81.1%, 0%, 43.9%)
CIE-LABlab(31.09, 54.36, -43.82)
CIE-LCHlch(31.09, 69.82, 321.12°)
OKLaboklab(43.03% 0.1371 -0.1234)
OKLCHoklch(43.03% 0.184 318)
XYZxyz(12.9569, 6.6896, 26.5900)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B8F #338F1B
analogous
#3D1B8F #771B8F #8F1B6D
triadic
#771B8F #8F771B #1B8F77
tetradic
#771B8F #8F3D1B #338F1B #1B6D8F
square
#771B8F #8F3D1B #338F1B #1B6D8F
split-complementary
#771B8F #6D8F1B #1B8F3D
monochromatic
#210828 #4C115C #771B8F #A225C2 #BE48DC

Accessibility & contrast

On white

8.98
#771B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#771B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B8F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B8F#FFFFFF#000000##FFFFFF
##771B8F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#204C8D
Tritanopia (blue-blind)
#763655
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771b8f;
/* rgb */ color: rgb(119, 27, 143);
/* oklch */ color: oklch(43.0% 0.184 318.0);
Tailwind
colors: {
  custom: {
    50: '#a264b0',
    500: '#771b8f',
    950: '#000000',
  },
}
SCSS
$custom: #771b8f;
$custom-light: #a264b0;
$custom-dark: #000000;
JSON
{
  "hex": "#771b8f",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 287.586,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43027,
    "c": 0.1844,
    "h": 318
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#771B8F
secondary
#60BE48
accent
#EB3D61
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #771B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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