#772B8D#772B8D

#772B8D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.164 H 317.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#772B8D
RGBrgb(119, 43, 141)
HSLhsl(287, 53%, 36%)
HSVhsv(287, 70%, 55%)
CMYKcmyk(15.6%, 69.5%, 0%, 44.7%)
CIE-LABlab(33.08, 47.90, -39.39)
CIE-LCHlch(33.08, 62.02, 320.57°)
OKLaboklab(44.4% 0.1216 -0.1105)
OKLCHoklch(44.4% 0.164 317.7)
XYZxyz(13.2787, 7.5733, 25.9565)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B8D #418D2B
analogous
#462B8D #772B8D #8D2B72
triadic
#772B8D #8D772B #2B8D77
tetradic
#772B8D #8D462B #418D2B #2B728D
square
#772B8D #8D462B #418D2B #2B728D
split-complementary
#772B8D #728D2B #2B8D46
monochromatic
#280E2F #4F1D5E #772B8D #9F39BC #B763CF

Accessibility & contrast

On white

8.35
#772B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#772B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B8D
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B8D#FFFFFF#000000##FFFFFF
##772B8D1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#763D58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772b8d;
/* rgb */ color: rgb(119, 43, 141);
/* oklch */ color: oklch(44.4% 0.164 317.7);
Tailwind
colors: {
  custom: {
    50: '#a16baf',
    500: '#772b8d',
    950: '#000000',
  },
}
SCSS
$custom: #772b8d;
$custom-light: #a16baf;
$custom-dark: #000000;
JSON
{
  "hex": "#772b8d",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 286.531,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.16426,
    "h": 317.7
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#772B8D
secondary
#72B65E
accent
#DD4B6C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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