#772E96#772E96

#772E96 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.169 H 314.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#772E96
RGBrgb(119, 46, 150)
HSLhsl(282, 53%, 38%)
HSVhsv(282, 69%, 59%)
CMYKcmyk(20.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(34.15, 48.47, -43.20)
CIE-LCHlch(34.15, 64.93, 318.29°)
OKLaboklab(45.35% 0.1175 -0.1217)
OKLCHoklch(45.35% 0.169 314)
XYZxyz(14.0888, 8.0784, 29.6654)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E96 #4D962E
analogous
#432E96 #772E96 #962E81
triadic
#772E96 #96772E #2E9677
tetradic
#772E96 #96432E #4D962E #2E8196
square
#772E96 #96432E #4D962E #2E8196
split-complementary
#772E96 #81962E #2E9643
monochromatic
#2D1138 #522067 #772E96 #9C3EC4 #B46CD2

Accessibility & contrast

On white

8.03
#772E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#772E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E96
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E96#FFFFFF#000000##FFFFFF
##772E961.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#295294
Tritanopia (blue-blind)
#74435E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772e96;
/* rgb */ color: rgb(119, 46, 150);
/* oklch */ color: oklch(45.4% 0.169 314.0);
Tailwind
colors: {
  custom: {
    50: '#a26db5',
    500: '#772e96',
    950: '#000000',
  },
}
SCSS
$custom: #772e96;
$custom-light: #a26db5;
$custom-dark: #000000;
JSON
{
  "hex": "#772e96",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 282.115,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.16916,
    "h": 314
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#772E96
secondary
#7FB967
accent
#DC4B77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772E96

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

Preview Lab → · Contrast checker → · Palette generator →

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