#772F9A#772F9A

#772F9A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.172 H 312.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#772F9A
RGBrgb(119, 47, 154)
HSLhsl(280, 53%, 39%)
HSVhsv(280, 69%, 60%)
CMYKcmyk(22.7%, 69.5%, 0%, 39.6%)
CIE-LABlab(34.58, 48.89, -44.94)
CIE-LCHlch(34.58, 66.41, 317.41°)
OKLaboklab(45.75% 0.1161 -0.1268)
OKLCHoklch(45.75% 0.172 312.5)
XYZxyz(14.4560, 8.2885, 31.4039)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F9A #529A2F
analogous
#422F9A #772F9A #9A2F88
triadic
#772F9A #9A772F #2F9A77
tetradic
#772F9A #9A422F #529A2F #2F889A
square
#772F9A #9A422F #529A2F #2F889A
split-complementary
#772F9A #889A2F #2F9A42
monochromatic
#2F123C #53216B #772F9A #9A41C5 #B370D3

Accessibility & contrast

On white

7.90
#772F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#772F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F9A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F9A#FFFFFF#000000##FFFFFF
##772F9A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#255398
Tritanopia (blue-blind)
#734561
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772f9a;
/* rgb */ color: rgb(119, 47, 154);
/* oklch */ color: oklch(45.7% 0.172 312.5);
Tailwind
colors: {
  custom: {
    50: '#a26db8',
    500: '#772f9a',
    950: '#000000',
  },
}
SCSS
$custom: #772f9a;
$custom-light: #a26db8;
$custom-dark: #000000;
JSON
{
  "hex": "#772f9a",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 280.374,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.17187,
    "h": 312.5
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#772F9A
secondary
#84BB6A
accent
#DD4B7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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