#772E8E#772E8E

#772E8E is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.161 H 317.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#772E8E
RGBrgb(119, 46, 142)
HSLhsl(286, 51%, 37%)
HSVhsv(286, 68%, 56%)
CMYKcmyk(16.2%, 67.6%, 0%, 44.3%)
CIE-LABlab(33.63, 46.76, -39.13)
CIE-LCHlch(33.63, 60.97, 320.07°)
OKLaboklab(44.81% 0.118 -0.1097)
OKLCHoklch(44.81% 0.161 317.1)
XYZxyz(13.4665, 7.8295, 26.3878)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E8E #458E2E
analogous
#472E8E #772E8E #8E2E75
triadic
#772E8E #8E772E #2E8E77
tetradic
#772E8E #8E472E #458E2E #2E758E
square
#772E8E #8E472E #458E2E #2E758E
split-complementary
#772E8E #758E2E #2E8E47
monochromatic
#2A1032 #501F60 #772E8E #9E3DBC #B668CE

Accessibility & contrast

On white

8.18
#772E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#772E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E8E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E8E#FFFFFF#000000##FFFFFF
##772E8E1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054B91
Deuteranopia (green-blind)
#30518C
Tritanopia (blue-blind)
#76405A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772e8e;
/* rgb */ color: rgb(119, 46, 142);
/* oklch */ color: oklch(44.8% 0.161 317.1);
Tailwind
colors: {
  custom: {
    50: '#a16caf',
    500: '#772e8e',
    950: '#000000',
  },
}
SCSS
$custom: #772e8e;
$custom-light: #a16caf;
$custom-dark: #000000;
JSON
{
  "hex": "#772e8e",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 285.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44811,
    "c": 0.16114,
    "h": 317.1
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#772E8E
secondary
#76B563
accent
#DB4D6F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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