#772D97#772D97

#772D97 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.171 H 313.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#772D97
RGBrgb(119, 45, 151)
HSLhsl(282, 54%, 38%)
HSVhsv(282, 70%, 59%)
CMYKcmyk(21.2%, 70.2%, 0%, 40.8%)
CIE-LABlab(34.05, 49.14, -43.96)
CIE-LCHlch(34.05, 65.93, 318.18°)
OKLaboklab(45.31% 0.1186 -0.1239)
OKLCHoklch(45.31% 0.171 313.7)
XYZxyz(14.1311, 8.0335, 30.0784)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D97 #4D972D
analogous
#422D97 #772D97 #972D82
triadic
#772D97 #97772D #2D9777
tetradic
#772D97 #97422D #4D972D #2D8297
square
#772D97 #97422D #4D972D #2D8297
split-complementary
#772D97 #82972D #2D9742
monochromatic
#2D1139 #521F68 #772D97 #9C3CC5 #B46BD3

Accessibility & contrast

On white

8.06
#772D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#772D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772D97
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D97#FFFFFF#000000##FFFFFF
##772D971.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#74435E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772d97;
/* rgb */ color: rgb(119, 45, 151);
/* oklch */ color: oklch(45.3% 0.171 313.7);
Tailwind
colors: {
  custom: {
    50: '#a26cb6',
    500: '#772d97',
    950: '#000000',
  },
}
SCSS
$custom: #772d97;
$custom-light: #a26cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#772d97",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 281.887,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45306,
    "c": 0.17148,
    "h": 313.7
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#772D97
secondary
#7FBA66
accent
#DD4A77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772D97

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

Preview Lab → · Contrast checker → · Palette generator →

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