#772A86#772A86

#772A86 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.159 H 320.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#772A86
RGBrgb(119, 42, 134)
HSLhsl(290, 52%, 35%)
HSVhsv(290, 69%, 53%)
CMYKcmyk(11.2%, 68.7%, 0%, 47.5%)
CIE-LABlab(32.48, 46.91, -36.02)
CIE-LCHlch(32.48, 59.14, 322.48°)
OKLaboklab(43.83% 0.123 -0.1006)
OKLCHoklch(43.83% 0.159 320.7)
XYZxyz(12.7383, 7.2997, 23.2877)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A86 #39862A
analogous
#492A86 #772A86 #862A67
triadic
#772A86 #86772A #2A8677
tetradic
#772A86 #86492A #39862A #2A6786
square
#772A86 #86492A #39862A #2A6786
split-complementary
#772A86 #67862A #2A8649
monochromatic
#240D29 #4E1B57 #772A86 #A039B5 #BA5ECD

Accessibility & contrast

On white

8.54
#772A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772A86
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A86#FFFFFF#000000##FFFFFF
##772A861.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4789
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#783A54
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772a86;
/* rgb */ color: rgb(119, 42, 134);
/* oklch */ color: oklch(43.8% 0.159 320.7);
Tailwind
colors: {
  custom: {
    50: '#a16aaa',
    500: '#772a86',
    950: '#000000',
  },
}
SCSS
$custom: #772a86;
$custom-light: #a16aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#772a86",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 290.217,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43826,
    "c": 0.15889,
    "h": 320.7
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#772A86
secondary
#68B25A
accent
#DC4C64
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772A86

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

Preview Lab → · Contrast checker → · Palette generator →

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