#772B89#772B89

#772B89 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.160 H 319.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#772B89
RGBrgb(119, 43, 137)
HSLhsl(289, 52%, 35%)
HSVhsv(289, 69%, 54%)
CMYKcmyk(13.1%, 68.6%, 0%, 46.3%)
CIE-LABlab(32.82, 47.08, -37.33)
CIE-LCHlch(32.82, 60.08, 321.59°)
OKLaboklab(44.13% 0.1217 -0.1044)
OKLCHoklch(44.13% 0.16 319.4)
XYZxyz(12.9864, 7.4564, 24.4172)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B89 #3D892B
analogous
#482B89 #772B89 #892B6C
triadic
#772B89 #89772B #2B8977
tetradic
#772B89 #89482B #3D892B #2B6C89
square
#772B89 #89482B #3D892B #2B6C89
split-complementary
#772B89 #6C892B #2B8948
monochromatic
#260E2C #4F1C5A #772B89 #9F3AB8 #B961CD

Accessibility & contrast

On white

8.43
#772B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772B89
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B89#FFFFFF#000000##FFFFFF
##772B891.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07488C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#773C56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772b89;
/* rgb */ color: rgb(119, 43, 137);
/* oklch */ color: oklch(44.1% 0.160 319.4);
Tailwind
colors: {
  custom: {
    50: '#a16bac',
    500: '#772b89',
    950: '#000000',
  },
}
SCSS
$custom: #772b89;
$custom-light: #a16bac;
$custom-dark: #000000;
JSON
{
  "hex": "#772b89",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 288.511,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44133,
    "c": 0.16039,
    "h": 319.4
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#772B89
secondary
#6DB35C
accent
#DC4C68
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772B89

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

Preview Lab → · Contrast checker → · Palette generator →

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