#772E8F#772E8F

#772E8F is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.162 H 316.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#772E8F
RGBrgb(119, 46, 143)
HSLhsl(285, 51%, 37%)
HSVhsv(285, 68%, 56%)
CMYKcmyk(16.8%, 67.8%, 0%, 43.9%)
CIE-LABlab(33.69, 46.97, -39.65)
CIE-LCHlch(33.69, 61.47, 319.83°)
OKLaboklab(44.88% 0.118 -0.1112)
OKLCHoklch(44.88% 0.162 316.7)
XYZxyz(13.5419, 7.8596, 26.7850)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E8F #468F2E
analogous
#472E8F #772E8F #8F2E77
triadic
#772E8F #8F772E #2E8F77
tetradic
#772E8F #8F472E #468F2E #2E778F
square
#772E8F #8F472E #468F2E #2E778F
split-complementary
#772E8F #778F2E #2E8F47
monochromatic
#2A1032 #501F61 #772E8F #9E3DBD #B569CF

Accessibility & contrast

On white

8.17
#772E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#772E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E8F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E8F#FFFFFF#000000##FFFFFF
##772E8F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024B92
Deuteranopia (green-blind)
#2F518D
Tritanopia (blue-blind)
#76405A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772e8f;
/* rgb */ color: rgb(119, 46, 143);
/* oklch */ color: oklch(44.9% 0.162 316.7);
Tailwind
colors: {
  custom: {
    50: '#a16db0',
    500: '#772e8f',
    950: '#000000',
  },
}
SCSS
$custom: #772e8f;
$custom-light: #a16db0;
$custom-dark: #000000;
JSON
{
  "hex": "#772e8f",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 285.155,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44877,
    "c": 0.16214,
    "h": 316.7
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#772E8F
secondary
#78B663
accent
#DB4D70
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772E8F

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

Preview Lab → · Contrast checker → · Palette generator →

#772E8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva