#772A87#772A87

#772A87 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.160 H 320.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#772A87
RGBrgb(119, 42, 135)
HSLhsl(290, 53%, 35%)
HSVhsv(290, 69%, 53%)
CMYKcmyk(11.9%, 68.9%, 0%, 47.1%)
CIE-LABlab(32.54, 47.11, -36.54)
CIE-LCHlch(32.54, 59.62, 322.20°)
OKLaboklab(43.89% 0.123 -0.1021)
OKLCHoklch(43.89% 0.16 320.3)
XYZxyz(12.8084, 7.3278, 23.6567)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A87 #3A872A
analogous
#482A87 #772A87 #872A69
triadic
#772A87 #87772A #2A8777
tetradic
#772A87 #87482A #3A872A #2A6987
square
#772A87 #87482A #3A872A #2A6987
split-complementary
#772A87 #69872A #2A8748
monochromatic
#250D2A #4E1B58 #772A87 #A039B6 #BA5ECD

Accessibility & contrast

On white

8.52
#772A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772A87
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A87#FFFFFF#000000##FFFFFF
##772A871.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09478A
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#783A55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772a87;
/* rgb */ color: rgb(119, 42, 135);
/* oklch */ color: oklch(43.9% 0.160 320.3);
Tailwind
colors: {
  custom: {
    50: '#a16aaa',
    500: '#772a87',
    950: '#000000',
  },
}
SCSS
$custom: #772a87;
$custom-light: #a16aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#772a87",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 289.677,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4389,
    "c": 0.15984,
    "h": 320.3
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#772A87
secondary
#69B35A
accent
#DC4C65
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772A87

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

Preview Lab → · Contrast checker → · Palette generator →

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