#772B88#772B88

#772B88 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.159 H 319.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#772B88
RGBrgb(119, 43, 136)
HSLhsl(289, 52%, 35%)
HSVhsv(289, 68%, 53%)
CMYKcmyk(12.5%, 68.4%, 0%, 46.7%)
CIE-LABlab(32.76, 46.87, -36.81)
CIE-LCHlch(32.76, 59.60, 321.86°)
OKLaboklab(44.07% 0.1218 -0.1029)
OKLCHoklch(44.07% 0.159 319.8)
XYZxyz(12.9150, 7.4279, 24.0412)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B88 #3C882B
analogous
#482B88 #772B88 #882B6B
triadic
#772B88 #88772B #2B8877
tetradic
#772B88 #88482B #3C882B #2B6B88
square
#772B88 #88482B #3C882B #2B6B88
split-complementary
#772B88 #6B882B #2B8848
monochromatic
#260E2B #4E1C5A #772B88 #A03AB6 #B961CD

Accessibility & contrast

On white

8.45
#772B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#772B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B88
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B88#FFFFFF#000000##FFFFFF
##772B881.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A488B
Deuteranopia (green-blind)
#325086
Tritanopia (blue-blind)
#773B56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772b88;
/* rgb */ color: rgb(119, 43, 136);
/* oklch */ color: oklch(44.1% 0.159 319.8);
Tailwind
colors: {
  custom: {
    50: '#a16bab',
    500: '#772b88',
    950: '#000000',
  },
}
SCSS
$custom: #772b88;
$custom-light: #a16bab;
$custom-dark: #000000;
JSON
{
  "hex": "#772b88",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 289.032,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.15944,
    "h": 319.8
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#772B88
secondary
#6CB35C
accent
#DB4C67
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772B88

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

Preview Lab → · Contrast checker → · Palette generator →

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