#772B9D#772B9D

#772B9D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.180 H 311.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#772B9D
RGBrgb(119, 43, 157)
HSLhsl(280, 57%, 39%)
HSVhsv(280, 73%, 62%)
CMYKcmyk(24.2%, 72.6%, 0%, 38.4%)
CIE-LABlab(34.16, 51.31, -47.44)
CIE-LCHlch(34.16, 69.88, 317.25°)
OKLaboklab(45.51% 0.1201 -0.1341)
OKLCHoklch(45.51% 0.18 311.8)
XYZxyz(14.5563, 8.0844, 32.6854)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B9D #519D2B
analogous
#3E2B9D #772B9D #9D2B8A
triadic
#772B9D #9D772B #2B9D77
tetradic
#772B9D #9D3E2B #519D2B #2B8A9D
square
#772B9D #9D3E2B #519D2B #2B8A9D
split-complementary
#772B9D #8A9D2B #2B9D3E
monochromatic
#2E113D #531E6D #772B9D #9A3CCA #B36CD7

Accessibility & contrast

On white

8.03
#772B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#772B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B9D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B9D#FFFFFF#000000##FFFFFF
##772B9D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#724461
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772b9d;
/* rgb */ color: rgb(119, 43, 157);
/* oklch */ color: oklch(45.5% 0.180 311.8);
Tailwind
colors: {
  custom: {
    50: '#a26cbb',
    500: '#772b9d',
    950: '#000000',
  },
}
SCSS
$custom: #772b9d;
$custom-light: #a26cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#772b9d",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 280,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45513,
    "c": 0.17996,
    "h": 311.8
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#772B9D
secondary
#83BD66
accent
#E0487A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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