#772D8F#772D8F

#772D8F is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.164 H 316.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#772D8F
RGBrgb(119, 45, 143)
HSLhsl(285, 52%, 37%)
HSVhsv(285, 69%, 56%)
CMYKcmyk(16.8%, 68.5%, 0%, 43.9%)
CIE-LABlab(33.53, 47.43, -39.91)
CIE-LCHlch(33.53, 61.98, 319.92°)
OKLaboklab(44.76% 0.1191 -0.112)
OKLCHoklch(44.76% 0.164 316.8)
XYZxyz(13.5033, 7.7824, 26.7721)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D8F #458F2D
analogous
#462D8F #772D8F #8F2D76
triadic
#772D8F #8F772D #2D8F77
tetradic
#772D8F #8F462D #458F2D #2D768F
square
#772D8F #8F462D #458F2D #2D768F
split-complementary
#772D8F #768F2D #2D8F46
monochromatic
#2A1032 #501E60 #772D8F #9E3CBE #B667CF

Accessibility & contrast

On white

8.21
#772D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772D8F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D8F#FFFFFF#000000##FFFFFF
##772D8F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#76405A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772d8f;
/* rgb */ color: rgb(119, 45, 143);
/* oklch */ color: oklch(44.8% 0.164 316.8);
Tailwind
colors: {
  custom: {
    50: '#a16cb0',
    500: '#772d8f',
    950: '#000000',
  },
}
SCSS
$custom: #772d8f;
$custom-light: #a16cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#772d8f",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 285.306,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.16352,
    "h": 316.8
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#772D8F
secondary
#76B662
accent
#DC4C6F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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