#772C8C#772C8C

#772C8C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.162 H 318.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#772C8C
RGBrgb(119, 44, 140)
HSLhsl(287, 52%, 36%)
HSVhsv(287, 69%, 55%)
CMYKcmyk(15%, 68.6%, 0%, 45.1%)
CIE-LABlab(33.17, 47.25, -38.63)
CIE-LCHlch(33.17, 61.03, 320.73°)
OKLaboklab(44.45% 0.1204 -0.1082)
OKLCHoklch(44.45% 0.162 318.1)
XYZxyz(13.2414, 7.6173, 25.5787)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C8C #418C2C
analogous
#472C8C #772C8C #8C2C71
triadic
#772C8C #8C772C #2C8C77
tetradic
#772C8C #8C472C #418C2C #2C718C
square
#772C8C #8C472C #418C2C #2C718C
split-complementary
#772C8C #718C2C #2C8C47
monochromatic
#280F2F #4F1D5D #772C8C #9F3BBB #B764CE

Accessibility & contrast

On white

8.32
#772C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#772C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C8C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C8C#FFFFFF#000000##FFFFFF
##772C8C1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498F
Deuteranopia (green-blind)
#30508A
Tritanopia (blue-blind)
#763E58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772c8c;
/* rgb */ color: rgb(119, 44, 140);
/* oklch */ color: oklch(44.4% 0.162 318.1);
Tailwind
colors: {
  custom: {
    50: '#a16bae',
    500: '#772c8c',
    950: '#000000',
  },
}
SCSS
$custom: #772c8c;
$custom-light: #a16bae;
$custom-dark: #000000;
JSON
{
  "hex": "#772c8c",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 286.875,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44445,
    "c": 0.16194,
    "h": 318.1
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#772C8C
secondary
#72B55F
accent
#DC4C6C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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