#772E7B#772E7B

#772E7B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.143 H 325.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#772E7B
RGBrgb(119, 46, 123)
HSLhsl(297, 46%, 33%)
HSVhsv(297, 63%, 48%)
CMYKcmyk(3.3%, 62.6%, 0%, 51.8%)
CIE-LABlab(32.50, 42.91, -29.13)
CIE-LCHlch(32.50, 51.86, 325.83°)
OKLaboklab(43.63% 0.1177 -0.0806)
OKLCHoklch(43.63% 0.143 325.6)
XYZxyz(12.1596, 7.3067, 19.5049)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E7B #327B2E
analogous
#502E7B #772E7B #7B2E58
triadic
#772E7B #7B772E #2E7B77
tetradic
#772E7B #7B502E #327B2E #2E587B
square
#772E7B #7B502E #327B2E #2E587B
split-complementary
#772E7B #587B2E #2E7B50
monochromatic
#210D22 #4C1D4E #772E7B #A23FA8 #BE60C3

Accessibility & contrast

On white

8.53
#772E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#772E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E7B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E7B#FFFFFF#000000##FFFFFF
##772E7B1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477D
Deuteranopia (green-blind)
#3D5079
Tritanopia (blue-blind)
#7A3850
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772e7b;
/* rgb */ color: rgb(119, 46, 123);
/* oklch */ color: oklch(43.6% 0.143 325.6);
Tailwind
colors: {
  custom: {
    50: '#a16ca1',
    500: '#772e7b',
    950: '#000000',
  },
}
SCSS
$custom: #772e7b;
$custom-light: #a16ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#772e7b",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 296.883,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.14263,
    "h": 325.6
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#772E7B
secondary
#5FAA5B
accent
#D55359
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #772E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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