#772E99#772E99

#772E99 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.172 H 312.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#772E99
RGBrgb(119, 46, 153)
HSLhsl(281, 54%, 39%)
HSVhsv(281, 70%, 60%)
CMYKcmyk(22.2%, 69.9%, 0%, 40%)
CIE-LABlab(34.35, 49.12, -44.70)
CIE-LCHlch(34.35, 66.42, 317.70°)
OKLaboklab(45.56% 0.1173 -0.1261)
OKLCHoklch(45.56% 0.172 312.9)
XYZxyz(14.3335, 8.1763, 30.9539)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E99 #50992E
analogous
#422E99 #772E99 #992E86
triadic
#772E99 #99772E #2E9977
tetradic
#772E99 #99422E #50992E #2E8699
square
#772E99 #99422E #50992E #2E8699
split-complementary
#772E99 #86992E #2E9942
monochromatic
#2E123B #52206A #772E99 #9B3FC5 #B36ED3

Accessibility & contrast

On white

7.97
#772E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#772E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E99
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E99#FFFFFF#000000##FFFFFF
##772E991.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772e99;
/* rgb */ color: rgb(119, 46, 153);
/* oklch */ color: oklch(45.6% 0.172 312.9);
Tailwind
colors: {
  custom: {
    50: '#a26db8',
    500: '#772e99',
    950: '#000000',
  },
}
SCSS
$custom: #772e99;
$custom-light: #a26db8;
$custom-dark: #000000;
JSON
{
  "hex": "#772e99",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 280.935,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4556,
    "c": 0.17217,
    "h": 312.9
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#772E99
secondary
#82BB68
accent
#DD4B79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772E99

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

Preview Lab → · Contrast checker → · Palette generator →

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