#772E87#772E87

#772E87 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.154 H 320.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#772E87
RGBrgb(119, 46, 135)
HSLhsl(289, 49%, 35%)
HSVhsv(289, 66%, 53%)
CMYKcmyk(11.9%, 65.9%, 0%, 47.1%)
CIE-LABlab(33.19, 45.30, -35.51)
CIE-LCHlch(33.19, 57.56, 321.91°)
OKLaboklab(44.36% 0.1181 -0.0991)
OKLCHoklch(44.36% 0.154 320)
XYZxyz(12.9574, 7.6258, 23.7064)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E87 #3E872E
analogous
#4A2E87 #772E87 #872E6B
triadic
#772E87 #87772E #2E8777
tetradic
#772E87 #874A2E #3E872E #2E6B87
square
#772E87 #874A2E #3E872E #2E6B87
split-complementary
#772E87 #6B872E #2E874A
monochromatic
#270F2C #4F1E59 #772E87 #9F3EB5 #B865CA

Accessibility & contrast

On white

8.32
#772E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#772E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E87
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E87#FFFFFF#000000##FFFFFF
##772E871.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498A
Deuteranopia (green-blind)
#355185
Tritanopia (blue-blind)
#783D56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772e87;
/* rgb */ color: rgb(119, 46, 135);
/* oklch */ color: oklch(44.4% 0.154 320.0);
Tailwind
colors: {
  custom: {
    50: '#a16caa',
    500: '#772e87',
    950: '#000000',
  },
}
SCSS
$custom: #772e87;
$custom-light: #a16caa;
$custom-dark: #000000;
JSON
{
  "hex": "#772e87",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 289.213,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44358,
    "c": 0.15422,
    "h": 320
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#772E87
secondary
#6EB160
accent
#D94F68
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772E87

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

Preview Lab → · Contrast checker → · Palette generator →

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