#772C7B#772C7B

#772C7B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.146 H 325.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#772C7B
RGBrgb(119, 44, 123)
HSLhsl(297, 47%, 33%)
HSVhsv(297, 64%, 48%)
CMYKcmyk(3.3%, 64.2%, 0%, 51.8%)
CIE-LABlab(32.16, 43.85, -29.67)
CIE-LCHlch(32.16, 52.94, 325.92°)
OKLaboklab(43.38% 0.1203 -0.0821)
OKLCHoklch(43.38% 0.146 325.7)
XYZxyz(12.0833, 7.1541, 19.4795)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C7B #307B2C
analogous
#4F2C7B #772C7B #7B2C57
triadic
#772C7B #7B772C #2C7B77
tetradic
#772C7B #7B4F2C #307B2C #2C577B
square
#772C7B #7B4F2C #307B2C #2C577B
split-complementary
#772C7B #577B2C #2C7B4F
monochromatic
#200C21 #4B1C4E #772C7B #A33CA8 #C05DC5

Accessibility & contrast

On white

8.64
#772C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#772C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C7B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C7B#FFFFFF#000000##FFFFFF
##772C7B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467D
Deuteranopia (green-blind)
#3B4F79
Tritanopia (blue-blind)
#7A374F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772c7b;
/* rgb */ color: rgb(119, 44, 123);
/* oklch */ color: oklch(43.4% 0.146 325.7);
Tailwind
colors: {
  custom: {
    50: '#a16ba1',
    500: '#772c7b',
    950: '#000000',
  },
}
SCSS
$custom: #772c7b;
$custom-light: #a16ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#772c7b",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 296.962,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43382,
    "c": 0.14566,
    "h": 325.7
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#772C7B
secondary
#5CAB58
accent
#D75158
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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