#772A97#772A97

#772A97 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.175 H 314.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#772A97
RGBrgb(119, 42, 151)
HSLhsl(282, 56%, 38%)
HSVhsv(282, 72%, 59%)
CMYKcmyk(21.2%, 72.2%, 0%, 40.8%)
CIE-LABlab(33.59, 50.44, -44.70)
CIE-LCHlch(33.59, 67.40, 318.45°)
OKLaboklab(44.98% 0.1218 -0.126)
OKLCHoklch(44.98% 0.175 314)
XYZxyz(14.0207, 7.8127, 30.0416)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A97 #4A972A
analogous
#402A97 #772A97 #972A81
triadic
#772A97 #97772A #2A9777
tetradic
#772A97 #97402A #4A972A #2A8197
square
#772A97 #97402A #4A972A #2A8197
split-complementary
#772A97 #81972A #2A9740
monochromatic
#2C0F37 #511D67 #772A97 #9D37C7 #B467D5

Accessibility & contrast

On white

8.20
#772A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#772A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A97
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A97#FFFFFF#000000##FFFFFF
##772A971.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#74415E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772a97;
/* rgb */ color: rgb(119, 42, 151);
/* oklch */ color: oklch(45.0% 0.175 314.0);
Tailwind
colors: {
  custom: {
    50: '#a26bb6',
    500: '#772a97',
    950: '#000000',
  },
}
SCSS
$custom: #772a97;
$custom-light: #a26bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#772a97",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 282.385,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44976,
    "c": 0.1753,
    "h": 314
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#772A97
secondary
#7CBB62
accent
#E04875
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772A97

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

Preview Lab → · Contrast checker → · Palette generator →

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