#772B86#772B86

#772B86 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.158 H 320.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#772B86
RGBrgb(119, 43, 134)
HSLhsl(290, 51%, 35%)
HSVhsv(290, 68%, 53%)
CMYKcmyk(11.2%, 67.9%, 0%, 47.5%)
CIE-LABlab(32.64, 46.47, -35.77)
CIE-LCHlch(32.64, 58.64, 322.41°)
OKLaboklab(43.94% 0.1218 -0.0999)
OKLCHoklch(43.94% 0.158 320.6)
XYZxyz(12.7742, 7.3716, 23.2996)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B86 #3A862B
analogous
#4A2B86 #772B86 #862B68
triadic
#772B86 #86772B #2B8677
tetradic
#772B86 #864A2B #3A862B #2B6886
square
#772B86 #864A2B #3A862B #2B6886
split-complementary
#772B86 #68862B #2B864A
monochromatic
#250D29 #4E1C58 #772B86 #A03AB4 #BA60CC

Accessibility & contrast

On white

8.49
#772B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#772B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B86
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B86#FFFFFF#000000##FFFFFF
##772B861.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4789
Deuteranopia (green-blind)
#345084
Tritanopia (blue-blind)
#783B55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772b86;
/* rgb */ color: rgb(119, 43, 134);
/* oklch */ color: oklch(43.9% 0.158 320.6);
Tailwind
colors: {
  custom: {
    50: '#a16baa',
    500: '#772b86',
    950: '#000000',
  },
}
SCSS
$custom: #772b86;
$custom-light: #a16baa;
$custom-dark: #000000;
JSON
{
  "hex": "#772b86",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 290.11,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4394,
    "c": 0.15751,
    "h": 320.6
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#772B86
secondary
#69B25B
accent
#DB4D64
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772B86

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

Preview Lab → · Contrast checker → · Palette generator →

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