#772A88#772A88

#772A88 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.161 H 319.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#772A88
RGBrgb(119, 42, 136)
HSLhsl(289, 53%, 35%)
HSVhsv(289, 69%, 53%)
CMYKcmyk(12.5%, 69.1%, 0%, 46.7%)
CIE-LABlab(32.60, 47.31, -37.06)
CIE-LCHlch(32.60, 60.10, 321.93°)
OKLaboklab(43.96% 0.1229 -0.1037)
OKLCHoklch(43.96% 0.161 319.9)
XYZxyz(12.8791, 7.3561, 24.0292)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A88 #3B882A
analogous
#482A88 #772A88 #882A6A
triadic
#772A88 #88772A #2A8877
tetradic
#772A88 #88482A #3B882A #2A6A88
square
#772A88 #88482A #3B882A #2A6A88
split-complementary
#772A88 #6A882A #2A8848
monochromatic
#250D2A #4E1C59 #772A88 #A038B7 #BA5FCE

Accessibility & contrast

On white

8.50
#772A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#772A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A88
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A88#FFFFFF#000000##FFFFFF
##772A881.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07478B
Deuteranopia (green-blind)
#324F86
Tritanopia (blue-blind)
#773B55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772a88;
/* rgb */ color: rgb(119, 42, 136);
/* oklch */ color: oklch(44.0% 0.161 319.9);
Tailwind
colors: {
  custom: {
    50: '#a16aab',
    500: '#772a88',
    950: '#000000',
  },
}
SCSS
$custom: #772a88;
$custom-light: #a16aab;
$custom-dark: #000000;
JSON
{
  "hex": "#772a88",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 289.149,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43955,
    "c": 0.16079,
    "h": 319.9
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#772A88
secondary
#6BB35B
accent
#DC4C66
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772A88

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

Preview Lab → · Contrast checker → · Palette generator →

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