#772D94#772D94

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

Color values

HEX#772D94
RGBrgb(119, 45, 148)
HSLhsl(283, 53%, 38%)
HSVhsv(283, 70%, 58%)
CMYKcmyk(19.6%, 69.6%, 0%, 42%)
CIE-LABlab(33.85, 48.49, -42.45)
CIE-LCHlch(33.85, 64.44, 318.80°)
OKLaboklab(45.1% 0.1188 -0.1194)
OKLCHoklch(45.1% 0.168 314.8)
XYZxyz(13.8906, 7.9373, 28.8116)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D94 #4A942D
analogous
#442D94 #772D94 #942D7D
triadic
#772D94 #94772D #2D9477
tetradic
#772D94 #94442D #4A942D #2D7D94
square
#772D94 #94442D #4A942D #2D7D94
split-complementary
#772D94 #7D942D #2D9444
monochromatic
#2C1036 #511F65 #772D94 #9D3BC3 #B46AD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772D94#FFFFFF#000000##FFFFFF
##772D941.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)
#004B97
Deuteranopia (green-blind)
#2A5292
Tritanopia (blue-blind)
#75425D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772d94;
/* rgb */ color: rgb(119, 45, 148);
/* oklch */ color: oklch(45.1% 0.168 314.8);
Tailwind
colors: {
  custom: {
    50: '#a26cb4',
    500: '#772d94',
    950: '#000000',
  },
}
SCSS
$custom: #772d94;
$custom-light: #a26cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#772d94",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 283.107,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45098,
    "c": 0.16848,
    "h": 314.8
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#772D94
secondary
#7CB864
accent
#DD4B74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772D94

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

Preview Lab → · Contrast checker → · Palette generator →

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