#772D88#772D88

#772D88 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.157 H 319.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#772D88
RGBrgb(119, 45, 136)
HSLhsl(289, 50%, 35%)
HSVhsv(289, 67%, 53%)
CMYKcmyk(12.5%, 66.9%, 0%, 46.7%)
CIE-LABlab(33.09, 45.97, -36.29)
CIE-LCHlch(33.09, 58.57, 321.71°)
OKLaboklab(44.3% 0.1194 -0.1014)
OKLCHoklch(44.3% 0.157 319.6)
XYZxyz(12.9895, 7.5769, 24.0660)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D88 #3E882D
analogous
#492D88 #772D88 #882D6B
triadic
#772D88 #88772D #2D8877
tetradic
#772D88 #88492D #3E882D #2D6B88
square
#772D88 #88492D #3E882D #2D6B88
split-complementary
#772D88 #6B882D #2D8849
monochromatic
#270F2C #4F1E5A #772D88 #9F3CB6 #B864CC

Accessibility & contrast

On white

8.35
#772D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772D88
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D88#FFFFFF#000000##FFFFFF
##772D881.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10498B
Deuteranopia (green-blind)
#345086
Tritanopia (blue-blind)
#773D56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772d88;
/* rgb */ color: rgb(119, 45, 136);
/* oklch */ color: oklch(44.3% 0.157 319.6);
Tailwind
colors: {
  custom: {
    50: '#a16cab',
    500: '#772d88',
    950: '#000000',
  },
}
SCSS
$custom: #772d88;
$custom-light: #a16cab;
$custom-dark: #000000;
JSON
{
  "hex": "#772d88",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 288.791,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.15663,
    "h": 319.6
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#772D88
secondary
#6EB25F
accent
#DA4E68
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772D88

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

Preview Lab → · Contrast checker → · Palette generator →

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