#772E8D#772E8D

#772E8D is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.160 H 317.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#772E8D
RGBrgb(119, 46, 141)
HSLhsl(286, 51%, 37%)
HSVhsv(286, 67%, 55%)
CMYKcmyk(15.6%, 67.4%, 0%, 44.7%)
CIE-LABlab(33.56, 46.55, -38.62)
CIE-LCHlch(33.56, 60.48, 320.32°)
OKLaboklab(44.75% 0.118 -0.1082)
OKLCHoklch(44.75% 0.16 317.5)
XYZxyz(13.3918, 7.7996, 25.9942)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E8D #448D2E
analogous
#482E8D #772E8D #8D2E74
triadic
#772E8D #8D772E #2E8D77
tetradic
#772E8D #8D482E #448D2E #2E748D
square
#772E8D #8D482E #448D2E #2E748D
split-complementary
#772E8D #748D2E #2E8D48
monochromatic
#291031 #501F5F #772E8D #9E3DBB #B668CE

Accessibility & contrast

On white

8.20
#772E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#772E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E8D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E8D#FFFFFF#000000##FFFFFF
##772E8D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A90
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#763F59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772e8d;
/* rgb */ color: rgb(119, 46, 141);
/* oklch */ color: oklch(44.7% 0.160 317.5);
Tailwind
colors: {
  custom: {
    50: '#a16caf',
    500: '#772e8d',
    950: '#000000',
  },
}
SCSS
$custom: #772e8d;
$custom-light: #a16caf;
$custom-dark: #000000;
JSON
{
  "hex": "#772e8d",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 286.105,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44745,
    "c": 0.16015,
    "h": 317.5
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#772E8D
secondary
#75B562
accent
#DA4E6E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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