#772E89#772E89

#772E89 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.156 H 319.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#772E89
RGBrgb(119, 46, 137)
HSLhsl(288, 50%, 36%)
HSVhsv(288, 66%, 54%)
CMYKcmyk(13.1%, 66.4%, 0%, 46.3%)
CIE-LABlab(33.31, 45.71, -36.55)
CIE-LCHlch(33.31, 58.53, 321.36°)
OKLaboklab(44.49% 0.1181 -0.1022)
OKLCHoklch(44.49% 0.156 319.1)
XYZxyz(13.0995, 7.6827, 24.4549)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E89 #40892E
analogous
#492E89 #772E89 #892E6D
triadic
#772E89 #89772E #2E8977
tetradic
#772E89 #89492E #40892E #2E6D89
square
#772E89 #89492E #40892E #2E6D89
split-complementary
#772E89 #6D892E #2E8949
monochromatic
#270F2D #4F1F5B #772E89 #9F3DB7 #B766CC

Accessibility & contrast

On white

8.28
#772E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#772E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E89
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E89#FFFFFF#000000##FFFFFF
##772E891.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498C
Deuteranopia (green-blind)
#345187
Tritanopia (blue-blind)
#773E57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772e89;
/* rgb */ color: rgb(119, 46, 137);
/* oklch */ color: oklch(44.5% 0.156 319.1);
Tailwind
colors: {
  custom: {
    50: '#a16cac',
    500: '#772e89',
    950: '#000000',
  },
}
SCSS
$custom: #772e89;
$custom-light: #a16cac;
$custom-dark: #000000;
JSON
{
  "hex": "#772e89",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 288.132,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.15618,
    "h": 319.1
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#772E89
secondary
#71B260
accent
#D94F6A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772E89

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

Preview Lab → · Contrast checker → · Palette generator →

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