#772C99#772C99

#772C99 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.175 H 313.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#772C99
RGBrgb(119, 44, 153)
HSLhsl(281, 55%, 39%)
HSVhsv(281, 71%, 60%)
CMYKcmyk(22.2%, 71.2%, 0%, 40%)
CIE-LABlab(34.03, 50.01, -45.21)
CIE-LCHlch(34.03, 67.42, 317.89°)
OKLaboklab(45.34% 0.1195 -0.1275)
OKLCHoklch(45.34% 0.175 313.1)
XYZxyz(14.2572, 8.0236, 30.9285)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C99 #4E992C
analogous
#402C99 #772C99 #992C84
triadic
#772C99 #99772C #2C9977
tetradic
#772C99 #99402C #4E992C #2C8499
square
#772C99 #99402C #4E992C #2C8499
split-complementary
#772C99 #84992C #2C9940
monochromatic
#2D113A #521E69 #772C99 #9B3BC7 #B46BD4

Accessibility & contrast

On white

8.06
#772C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#772C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C99
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C99#FFFFFF#000000##FFFFFF
##772C991.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#73435F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772c99;
/* rgb */ color: rgb(119, 44, 153);
/* oklch */ color: oklch(45.3% 0.175 313.1);
Tailwind
colors: {
  custom: {
    50: '#a26cb8',
    500: '#772c99',
    950: '#000000',
  },
}
SCSS
$custom: #772c99;
$custom-light: #a26cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#772c99",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 281.284,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.17476,
    "h": 313.1
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#772C99
secondary
#80BB66
accent
#DF4978
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772C99

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

Preview Lab → · Contrast checker → · Palette generator →

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