#772D99#772D99

#772D99 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.173 H 313.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#772D99
RGBrgb(119, 45, 153)
HSLhsl(281, 55%, 39%)
HSVhsv(281, 71%, 60%)
CMYKcmyk(22.2%, 70.6%, 0%, 40%)
CIE-LABlab(34.19, 49.57, -44.96)
CIE-LCHlch(34.19, 66.92, 317.79°)
OKLaboklab(45.45% 0.1184 -0.1268)
OKLCHoklch(45.45% 0.173 313)
XYZxyz(14.2949, 8.0990, 30.9411)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D99 #4F992D
analogous
#412D99 #772D99 #992D85
triadic
#772D99 #99772D #2D9977
tetradic
#772D99 #99412D #4F992D #2D8599
square
#772D99 #99412D #4F992D #2D8599
split-complementary
#772D99 #85992D #2D9941
monochromatic
#2D113A #521F6A #772D99 #9B3DC6 #B36CD4

Accessibility & contrast

On white

8.02
#772D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#772D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772D99
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D99#FFFFFF#000000##FFFFFF
##772D991.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#245297
Tritanopia (blue-blind)
#734460
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772d99;
/* rgb */ color: rgb(119, 45, 153);
/* oklch */ color: oklch(45.4% 0.173 313.0);
Tailwind
colors: {
  custom: {
    50: '#a26cb8',
    500: '#772d99',
    950: '#000000',
  },
}
SCSS
$custom: #772d99;
$custom-light: #a26cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#772d99",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 281.111,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.17348,
    "h": 313
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#772D99
secondary
#81BB67
accent
#DE4A78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772D99

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

Preview Lab → · Contrast checker → · Palette generator →

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