#772F96#772F96

#772F96 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.168 H 313.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#772F96
RGBrgb(119, 47, 150)
HSLhsl(282, 52%, 39%)
HSVhsv(282, 69%, 59%)
CMYKcmyk(20.7%, 68.7%, 0%, 41.2%)
CIE-LABlab(34.31, 48.02, -42.94)
CIE-LCHlch(34.31, 64.41, 318.20°)
OKLaboklab(45.47% 0.1164 -0.1209)
OKLCHoklch(45.47% 0.168 313.9)
XYZxyz(14.1284, 8.1574, 29.6785)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F96 #4E962F
analogous
#432F96 #772F96 #962F81
triadic
#772F96 #96772F #2F9677
tetradic
#772F96 #96432F #4E962F #2F8196
square
#772F96 #96432F #4E962F #2F8196
split-complementary
#772F96 #81962F #2F9643
monochromatic
#2D1239 #522067 #772F96 #9B3FC3 #B46ED2

Accessibility & contrast

On white

7.98
#772F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#772F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F96
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F96#FFFFFF#000000##FFFFFF
##772F961.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#2A5294
Tritanopia (blue-blind)
#74445F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772f96;
/* rgb */ color: rgb(119, 47, 150);
/* oklch */ color: oklch(45.5% 0.168 313.9);
Tailwind
colors: {
  custom: {
    50: '#a26db5',
    500: '#772f96',
    950: '#000000',
  },
}
SCSS
$custom: #772f96;
$custom-light: #a26db5;
$custom-dark: #000000;
JSON
{
  "hex": "#772f96",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 281.942,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.16781,
    "h": 313.9
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#772F96
secondary
#80B968
accent
#DC4C77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772F96

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

Preview Lab → · Contrast checker → · Palette generator →

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