#772C8F#772C8F

#772C8F is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.165 H 316.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#772C8F
RGBrgb(119, 44, 143)
HSLhsl(285, 53%, 37%)
HSVhsv(285, 69%, 56%)
CMYKcmyk(16.8%, 69.2%, 0%, 43.9%)
CIE-LABlab(33.37, 47.87, -40.16)
CIE-LCHlch(33.37, 62.49, 320.00°)
OKLaboklab(44.65% 0.1203 -0.1127)
OKLCHoklch(44.65% 0.165 316.9)
XYZxyz(13.4656, 7.7070, 26.7596)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C8F #448F2C
analogous
#462C8F #772C8F #8F2C76
triadic
#772C8F #8F772C #2C8F77
tetradic
#772C8F #8F462C #448F2C #2C768F
square
#772C8F #8F462C #448F2C #2C768F
split-complementary
#772C8F #768F2C #2C8F46
monochromatic
#290F31 #501E60 #772C8F #9E3ABE #B666D0

Accessibility & contrast

On white

8.26
#772C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#772C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C8F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C8F#FFFFFF#000000##FFFFFF
##772C8F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#763F5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772c8f;
/* rgb */ color: rgb(119, 44, 143);
/* oklch */ color: oklch(44.6% 0.165 316.9);
Tailwind
colors: {
  custom: {
    50: '#a16bb0',
    500: '#772c8f',
    950: '#000000',
  },
}
SCSS
$custom: #772c8f;
$custom-light: #a16bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#772c8f",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 285.455,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44645,
    "c": 0.16487,
    "h": 316.9
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#772C8F
secondary
#75B661
accent
#DC4B6F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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