#772C87#772C87

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

Color values

HEX#772C87
RGBrgb(119, 44, 135)
HSLhsl(289, 51%, 35%)
HSVhsv(289, 67%, 53%)
CMYKcmyk(11.9%, 67.4%, 0%, 47.1%)
CIE-LABlab(32.86, 46.22, -36.03)
CIE-LCHlch(32.86, 58.61, 322.06°)
OKLaboklab(44.12% 0.1206 -0.1007)
OKLCHoklch(44.12% 0.157 320.1)
XYZxyz(12.8811, 7.4732, 23.6809)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C87 #3C872C
analogous
#4A2C87 #772C87 #872C69
triadic
#772C87 #87772C #2C8777
tetradic
#772C87 #874A2C #3C872C #2C6987
square
#772C87 #874A2C #3C872C #2C6987
split-complementary
#772C87 #69872C #2C874A
monochromatic
#260E2B #4E1D59 #772C87 #A03BB5 #B962CC

Accessibility & contrast

On white

8.42
#772C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772C87
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C87#FFFFFF#000000##FFFFFF
##772C871.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488A
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#783C55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772c87;
/* rgb */ color: rgb(119, 44, 135);
/* oklch */ color: oklch(44.1% 0.157 320.1);
Tailwind
colors: {
  custom: {
    50: '#a16baa',
    500: '#772c87',
    950: '#000000',
  },
}
SCSS
$custom: #772c87;
$custom-light: #a16baa;
$custom-dark: #000000;
JSON
{
  "hex": "#772c87",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 289.451,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4412,
    "c": 0.15707,
    "h": 320.1
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#772C87
secondary
#6CB25D
accent
#DA4D66
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772C87

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

Preview Lab → · Contrast checker → · Palette generator →

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