#772B8E#772B8E

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

Color values

HEX#772B8E
RGBrgb(119, 43, 142)
HSLhsl(286, 54%, 36%)
HSVhsv(286, 70%, 56%)
CMYKcmyk(16.2%, 69.7%, 0%, 44.3%)
CIE-LABlab(33.14, 48.11, -39.91)
CIE-LCHlch(33.14, 62.50, 320.32°)
OKLaboklab(44.46% 0.1215 -0.112)
OKLCHoklch(44.46% 0.165 317.3)
XYZxyz(13.3534, 7.6032, 26.3501)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B8E #428E2B
analogous
#462B8E #772B8E #8E2B74
triadic
#772B8E #8E772B #2B8E77
tetradic
#772B8E #8E462B #428E2B #2B748E
square
#772B8E #8E462B #428E2B #2B748E
split-complementary
#772B8E #748E2B #2B8E46
monochromatic
#280F30 #501D5F #772B8E #9E39BD #B763D0

Accessibility & contrast

On white

8.33
#772B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#772B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B8E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B8E#FFFFFF#000000##FFFFFF
##772B8E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772b8e;
/* rgb */ color: rgb(119, 43, 142);
/* oklch */ color: oklch(44.5% 0.165 317.3);
Tailwind
colors: {
  custom: {
    50: '#a16bb0',
    500: '#772b8e',
    950: '#000000',
  },
}
SCSS
$custom: #772b8e;
$custom-light: #a16bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#772b8e",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 286.061,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44464,
    "c": 0.16524,
    "h": 317.3
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#772B8E
secondary
#73B65F
accent
#DD4B6D
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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