#772787#772787

#772787 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.164 H 320.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#772787
RGBrgb(119, 39, 135)
HSLhsl(290, 55%, 34%)
HSVhsv(290, 71%, 53%)
CMYKcmyk(11.9%, 71.1%, 0%, 47.1%)
CIE-LABlab(32.09, 48.39, -37.27)
CIE-LCHlch(32.09, 61.08, 322.40°)
OKLaboklab(43.56% 0.1264 -0.1042)
OKLCHoklch(43.56% 0.164 320.5)
XYZxyz(12.7059, 7.1229, 23.6226)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772787 #378727
analogous
#472787 #772787 #872767
triadic
#772787 #877727 #278777
tetradic
#772787 #874727 #378727 #276787
square
#772787 #874727 #378727 #276787
split-complementary
#772787 #678727 #278747
monochromatic
#230C28 #4D1958 #772787 #A135B6 #BB59CF

Accessibility & contrast

On white

8.66
#772787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#772787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772787
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772787#FFFFFF#000000##FFFFFF
##7727871.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#783854
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772787;
/* rgb */ color: rgb(119, 39, 135);
/* oklch */ color: oklch(43.6% 0.164 320.5);
Tailwind
colors: {
  custom: {
    50: '#a169aa',
    500: '#772787',
    950: '#000000',
  },
}
SCSS
$custom: #772787;
$custom-light: #a169aa;
$custom-dark: #000000;
JSON
{
  "hex": "#772787",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 290,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43563,
    "c": 0.16382,
    "h": 320.5
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#772787
secondary
#65B456
accent
#DF4962
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772787

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

Preview Lab → · Contrast checker → · Palette generator →

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