#772A99#772A99

#772A99 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.177 H 313.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#772A99
RGBrgb(119, 42, 153)
HSLhsl(282, 57%, 38%)
HSVhsv(282, 73%, 60%)
CMYKcmyk(22.2%, 72.5%, 0%, 40%)
CIE-LABlab(33.73, 50.87, -45.70)
CIE-LCHlch(33.73, 68.38, 318.06°)
OKLaboklab(45.12% 0.1216 -0.129)
OKLCHoklch(45.12% 0.177 313.3)
XYZxyz(14.1845, 7.8782, 30.9043)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A99 #4C992A
analogous
#402A99 #772A99 #992A83
triadic
#772A99 #99772A #2A9977
tetradic
#772A99 #99402A #4C992A #2A8399
square
#772A99 #99402A #4C992A #2A8399
split-complementary
#772A99 #83992A #2A9940
monochromatic
#2C1039 #521D69 #772A99 #9C38C8 #B468D6

Accessibility & contrast

On white

8.15
#772A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#772A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A99
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A99#FFFFFF#000000##FFFFFF
##772A991.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#215197
Tritanopia (blue-blind)
#73425F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772a99;
/* rgb */ color: rgb(119, 42, 153);
/* oklch */ color: oklch(45.1% 0.177 313.3);
Tailwind
colors: {
  custom: {
    50: '#a26bb8',
    500: '#772a99',
    950: '#000000',
  },
}
SCSS
$custom: #772a99;
$custom-light: #a26bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#772a99",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 281.622,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.17726,
    "h": 313.3
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#772A99
secondary
#7EBC63
accent
#E04876
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772A99

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

Preview Lab → · Contrast checker → · Palette generator →

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