#772C88#772C88

#772C88 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.158 H 319.7°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#772C88
RGBrgb(119, 44, 136)
HSLhsl(289, 51%, 35%)
HSVhsv(289, 68%, 53%)
CMYKcmyk(12.5%, 67.6%, 0%, 46.7%)
CIE-LABlab(32.92, 46.42, -36.55)
CIE-LCHlch(32.92, 59.09, 321.78°)
OKLaboklab(44.18% 0.1206 -0.1022)
OKLCHoklch(44.18% 0.158 319.7)
XYZxyz(12.9518, 7.5015, 24.0535)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C88 #3D882C
analogous
#492C88 #772C88 #882C6B
triadic
#772C88 #88772C #2C8877
tetradic
#772C88 #88492C #3D882C #2C6B88
square
#772C88 #88492C #3D882C #2C6B88
split-complementary
#772C88 #6B882C #2C8849
monochromatic
#260E2C #4F1D5A #772C88 #9F3BB6 #B962CC

Accessibility & contrast

On white

8.40
#772C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#772C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C88
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C88#FFFFFF#000000##FFFFFF
##772C881.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488B
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#773C56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772c88;
/* rgb */ color: rgb(119, 44, 136);
/* oklch */ color: oklch(44.2% 0.158 319.7);
Tailwind
colors: {
  custom: {
    50: '#a16bab',
    500: '#772c88',
    950: '#000000',
  },
}
SCSS
$custom: #772c88;
$custom-light: #a16bab;
$custom-dark: #000000;
JSON
{
  "hex": "#772c88",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 288.913,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44184,
    "c": 0.15804,
    "h": 319.7
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

primary
#772C88
secondary
#6DB35D
accent
#DB4D67
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772C88

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

Preview Lab → · Contrast checker → · Palette generator →

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