#772D96#772D96

#772D96 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.170 H 314.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#772D96
RGBrgb(119, 45, 150)
HSLhsl(282, 54%, 38%)
HSVhsv(282, 70%, 59%)
CMYKcmyk(20.7%, 70%, 0%, 41.2%)
CIE-LABlab(33.99, 48.92, -43.46)
CIE-LCHlch(33.99, 65.43, 318.38°)
OKLaboklab(45.24% 0.1187 -0.1224)
OKLCHoklch(45.24% 0.17 314.1)
XYZxyz(14.0502, 8.0012, 29.6525)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D96 #4C962D
analogous
#432D96 #772D96 #962D80
triadic
#772D96 #96772D #2D9677
tetradic
#772D96 #96432D #4C962D #2D8096
square
#772D96 #96432D #4C962D #2D8096
split-complementary
#772D96 #80962D #2D9643
monochromatic
#2C1138 #521F67 #772D96 #9C3CC4 #B46BD3

Accessibility & contrast

On white

8.08
#772D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#772D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772D96
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D96#FFFFFF#000000##FFFFFF
##772D961.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772d96;
/* rgb */ color: rgb(119, 45, 150);
/* oklch */ color: oklch(45.2% 0.170 314.1);
Tailwind
colors: {
  custom: {
    50: '#a26cb5',
    500: '#772d96',
    950: '#000000',
  },
}
SCSS
$custom: #772d96;
$custom-light: #a26cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#772d96",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 282.286,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.17048,
    "h": 314.1
  },
  "luminance": 0.08001
}

Semantic roles & 50–950 ramp

primary
#772D96
secondary
#7EB965
accent
#DD4B76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772D96

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

Preview Lab → · Contrast checker → · Palette generator →

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