#772F99#772F99

#772F99 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.171 H 312.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#772F99
RGBrgb(119, 47, 153)
HSLhsl(281, 53%, 39%)
HSVhsv(281, 69%, 60%)
CMYKcmyk(22.2%, 69.3%, 0%, 40%)
CIE-LABlab(34.51, 48.67, -44.44)
CIE-LCHlch(34.51, 65.91, 317.60°)
OKLaboklab(45.68% 0.1161 -0.1253)
OKLCHoklch(45.68% 0.171 312.8)
XYZxyz(14.3730, 8.2553, 30.9671)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F99 #51992F
analogous
#422F99 #772F99 #992F86
triadic
#772F99 #99772F #2F9977
tetradic
#772F99 #99422F #51992F #2F8699
square
#772F99 #99422F #51992F #2F8699
split-complementary
#772F99 #86992F #2F9942
monochromatic
#2E123B #53216A #772F99 #9A41C5 #B36FD3

Accessibility & contrast

On white

7.92
#772F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#772F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F99
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F99#FFFFFF#000000##FFFFFF
##772F991.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772f99;
/* rgb */ color: rgb(119, 47, 153);
/* oklch */ color: oklch(45.7% 0.171 312.8);
Tailwind
colors: {
  custom: {
    50: '#a26db8',
    500: '#772f99',
    950: '#000000',
  },
}
SCSS
$custom: #772f99;
$custom-light: #a26db8;
$custom-dark: #000000;
JSON
{
  "hex": "#772f99",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 280.755,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45676,
    "c": 0.17085,
    "h": 312.8
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#772F99
secondary
#83BA69
accent
#DC4B7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772F99

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

Preview Lab → · Contrast checker → · Palette generator →

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