#772C96#772C96

#772C96 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.172 H 314.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#772C96
RGBrgb(119, 44, 150)
HSLhsl(282, 55%, 38%)
HSVhsv(282, 71%, 59%)
CMYKcmyk(20.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(33.83, 49.36, -43.71)
CIE-LCHlch(33.83, 65.93, 318.48°)
OKLaboklab(45.12% 0.1198 -0.1231)
OKLCHoklch(45.12% 0.172 314.2)
XYZxyz(14.0125, 7.9258, 29.6399)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C96 #4B962C
analogous
#422C96 #772C96 #962C80
triadic
#772C96 #96772C #2C9677
tetradic
#772C96 #96422C #4B962C #2C8096
square
#772C96 #96422C #4B962C #2C8096
split-complementary
#772C96 #80962C #2C9642
monochromatic
#2C1037 #511E67 #772C96 #9C3AC5 #B469D3

Accessibility & contrast

On white

8.12
#772C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#772C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C96
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C96#FFFFFF#000000##FFFFFF
##772C961.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#275194
Tritanopia (blue-blind)
#74425E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772c96;
/* rgb */ color: rgb(119, 44, 150);
/* oklch */ color: oklch(45.1% 0.172 314.2);
Tailwind
colors: {
  custom: {
    50: '#a26cb5',
    500: '#772c96',
    950: '#000000',
  },
}
SCSS
$custom: #772c96;
$custom-light: #a26cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#772c96",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 282.453,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45124,
    "c": 0.17178,
    "h": 314.2
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#772C96
secondary
#7DBA64
accent
#DE4A75
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772C96

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

Preview Lab → · Contrast checker → · Palette generator →

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