#772D8E#772D8E

#772D8E is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.163 H 317.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#772D8E
RGBrgb(119, 45, 142)
HSLhsl(286, 52%, 37%)
HSVhsv(286, 68%, 56%)
CMYKcmyk(16.2%, 68.3%, 0%, 44.3%)
CIE-LABlab(33.46, 47.22, -39.40)
CIE-LCHlch(33.46, 61.49, 320.16°)
OKLaboklab(44.69% 0.1192 -0.1105)
OKLCHoklch(44.69% 0.163 317.2)
XYZxyz(13.4279, 7.7522, 26.3750)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D8E #448E2D
analogous
#472D8E #772D8E #8E2D75
triadic
#772D8E #8E772D #2D8E77
tetradic
#772D8E #8E472D #448E2D #2D758E
square
#772D8E #8E472D #448E2D #2D758E
split-complementary
#772D8E #758E2D #2D8E47
monochromatic
#291031 #501E60 #772D8E #9E3CBC #B667CF

Accessibility & contrast

On white

8.23
#772D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#772D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772D8E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D8E#FFFFFF#000000##FFFFFF
##772D8E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014A91
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#763F5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772d8e;
/* rgb */ color: rgb(119, 45, 142);
/* oklch */ color: oklch(44.7% 0.163 317.2);
Tailwind
colors: {
  custom: {
    50: '#a16caf',
    500: '#772d8e',
    950: '#000000',
  },
}
SCSS
$custom: #772d8e;
$custom-light: #a16caf;
$custom-dark: #000000;
JSON
{
  "hex": "#772d8e",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 285.773,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44693,
    "c": 0.16253,
    "h": 317.2
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#772D8E
secondary
#75B561
accent
#DB4C6E
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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