#771987#771987

#771987 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.179 H 321.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#771987
RGBrgb(119, 25, 135)
HSLhsl(291, 69%, 31%)
HSVhsv(291, 81%, 53%)
CMYKcmyk(11.9%, 81.5%, 0%, 47.1%)
CIE-LABlab(30.32, 53.44, -40.10)
CIE-LCHlch(30.32, 66.81, 323.12°)
OKLaboklab(42.31% 0.1398 -0.1124)
OKLCHoklch(42.31% 0.179 321.2)
XYZxyz(12.3281, 6.3672, 23.4966)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771987 #298719
analogous
#401987 #771987 #871960
triadic
#771987 #877719 #198777
tetradic
#771987 #874019 #298719 #196087
square
#771987 #874019 #298719 #196087
split-complementary
#771987 #608719 #198740
monochromatic
#1C0620 #490F53 #771987 #A523BB #C53FDB

Accessibility & contrast

On white

9.24
#771987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#771987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771987
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771987#FFFFFF#000000##FFFFFF
##7719871.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#284B85
Tritanopia (blue-blind)
#783150
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771987;
/* rgb */ color: rgb(119, 25, 135);
/* oklch */ color: oklch(42.3% 0.179 321.2);
Tailwind
colors: {
  custom: {
    50: '#a263aa',
    500: '#771987',
    950: '#000000',
  },
}
SCSS
$custom: #771987;
$custom-light: #a263aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771987",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 291.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.17943,
    "h": 321.2
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#771987
secondary
#53BA41
accent
#EC3C56
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771987

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

Preview Lab → · Contrast checker → · Palette generator →

#771987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva