#772A96#772A96

#772A96 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.174 H 314.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#772A96
RGBrgb(119, 42, 150)
HSLhsl(283, 56%, 38%)
HSVhsv(283, 72%, 59%)
CMYKcmyk(20.7%, 72%, 0%, 41.2%)
CIE-LABlab(33.52, 50.23, -44.20)
CIE-LCHlch(33.52, 66.91, 318.65°)
OKLaboklab(44.91% 0.122 -0.1246)
OKLCHoklch(44.91% 0.174 314.4)
XYZxyz(13.9398, 7.7803, 29.6157)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A96 #49962A
analogous
#412A96 #772A96 #962A7F
triadic
#772A96 #96772A #2A9677
tetradic
#772A96 #96412A #49962A #2A7F96
square
#772A96 #96412A #49962A #2A7F96
split-complementary
#772A96 #7F962A #2A9641
monochromatic
#2B0F36 #511D66 #772A96 #9D37C6 #B566D4

Accessibility & contrast

On white

8.22
#772A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772A96
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A96#FFFFFF#000000##FFFFFF
##772A961.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#255194
Tritanopia (blue-blind)
#74415D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772a96;
/* rgb */ color: rgb(119, 42, 150);
/* oklch */ color: oklch(44.9% 0.174 314.4);
Tailwind
colors: {
  custom: {
    50: '#a26bb5',
    500: '#772a96',
    950: '#000000',
  },
}
SCSS
$custom: #772a96;
$custom-light: #a26bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#772a96",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 282.778,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44905,
    "c": 0.17433,
    "h": 314.4
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#772A96
secondary
#7BBA61
accent
#E04874
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772A96

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

Preview Lab → · Contrast checker → · Palette generator →

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