#772B94#772B94

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

Color values

HEX#772B94
RGBrgb(119, 43, 148)
HSLhsl(283, 55%, 37%)
HSVhsv(283, 71%, 58%)
CMYKcmyk(19.6%, 70.9%, 0%, 42%)
CIE-LABlab(33.54, 49.37, -42.95)
CIE-LCHlch(33.54, 65.44, 318.98°)
OKLaboklab(44.87% 0.1211 -0.1209)
OKLCHoklch(44.87% 0.171 315)
XYZxyz(13.8161, 7.7883, 28.7867)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B94 #48942B
analogous
#432B94 #772B94 #942B7C
triadic
#772B94 #94772B #2B9477
tetradic
#772B94 #94432B #48942B #2B7C94
square
#772B94 #94432B #48942B #2B7C94
split-complementary
#772B94 #7C942B #2B9443
monochromatic
#2B0F35 #511D65 #772B94 #9D39C3 #B567D3

Accessibility & contrast

On white

8.21
#772B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772B94
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B94#FFFFFF#000000##FFFFFF
##772B941.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#285192
Tritanopia (blue-blind)
#75405C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772b94;
/* rgb */ color: rgb(119, 43, 148);
/* oklch */ color: oklch(44.9% 0.171 315.0);
Tailwind
colors: {
  custom: {
    50: '#a26bb4',
    500: '#772b94',
    950: '#000000',
  },
}
SCSS
$custom: #772b94;
$custom-light: #a26bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#772b94",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 283.429,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44874,
    "c": 0.17111,
    "h": 315
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#772B94
secondary
#7AB962
accent
#DE4973
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772B94

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

Preview Lab → · Contrast checker → · Palette generator →

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