#772C8D#772C8D

#772C8D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.163 H 317.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#772C8D
RGBrgb(119, 44, 141)
HSLhsl(286, 52%, 36%)
HSVhsv(286, 69%, 55%)
CMYKcmyk(15.6%, 68.8%, 0%, 44.7%)
CIE-LABlab(33.24, 47.46, -39.14)
CIE-LCHlch(33.24, 61.51, 320.49°)
OKLaboklab(44.51% 0.1204 -0.1097)
OKLCHoklch(44.51% 0.163 317.6)
XYZxyz(13.3155, 7.6469, 25.9688)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C8D #428D2C
analogous
#472C8D #772C8D #8D2C73
triadic
#772C8D #8D772C #2C8D77
tetradic
#772C8D #8D472C #428D2C #2C738D
square
#772C8D #8D472C #428D2C #2C738D
split-complementary
#772C8D #738D2C #2C8D47
monochromatic
#280F30 #501D5E #772C8D #9E3BBC #B765CF

Accessibility & contrast

On white

8.30
#772C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#772C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C8D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C8D#FFFFFF#000000##FFFFFF
##772C8D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772c8d;
/* rgb */ color: rgb(119, 44, 141);
/* oklch */ color: oklch(44.5% 0.163 317.6);
Tailwind
colors: {
  custom: {
    50: '#a16baf',
    500: '#772c8d',
    950: '#000000',
  },
}
SCSS
$custom: #772c8d;
$custom-light: #a16baf;
$custom-dark: #000000;
JSON
{
  "hex": "#772c8d",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 286.392,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44511,
    "c": 0.16291,
    "h": 317.6
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#772C8D
secondary
#73B560
accent
#DC4C6D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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