#772C8E#772C8E

#772C8E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.164 H 317.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#772C8E
RGBrgb(119, 44, 142)
HSLhsl(286, 53%, 36%)
HSVhsv(286, 69%, 56%)
CMYKcmyk(16.2%, 69%, 0%, 44.3%)
CIE-LABlab(33.30, 47.67, -39.65)
CIE-LCHlch(33.30, 62.00, 320.24°)
OKLaboklab(44.58% 0.1204 -0.1112)
OKLCHoklch(44.58% 0.164 317.3)
XYZxyz(13.3902, 7.6768, 26.3624)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C8E #438E2C
analogous
#462C8E #772C8E #8E2C74
triadic
#772C8E #8E772C #2C8E77
tetradic
#772C8E #8E462C #438E2C #2C748E
square
#772C8E #8E462C #438E2C #2C748E
split-complementary
#772C8E #748E2C #2C8E46
monochromatic
#290F31 #501E5F #772C8E #9E3ABD #B665CF

Accessibility & contrast

On white

8.28
#772C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#772C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C8E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C8E#FFFFFF#000000##FFFFFF
##772C8E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#2E518C
Tritanopia (blue-blind)
#763E59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772c8e;
/* rgb */ color: rgb(119, 44, 142);
/* oklch */ color: oklch(44.6% 0.164 317.3);
Tailwind
colors: {
  custom: {
    50: '#a16bb0',
    500: '#772c8e',
    950: '#000000',
  },
}
SCSS
$custom: #772c8e;
$custom-light: #a16bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#772c8e",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 285.918,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44578,
    "c": 0.16389,
    "h": 317.3
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#772C8E
secondary
#74B660
accent
#DC4C6E
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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