#772EA9#772EA9

#772EA9 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.188 H 307.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#772EA9
RGBrgb(119, 46, 169)
HSLhsl(276, 57%, 42%)
HSVhsv(276, 73%, 66%)
CMYKcmyk(29.6%, 72.8%, 0%, 33.7%)
CIE-LABlab(35.48, 52.70, -52.53)
CIE-LCHlch(35.48, 74.41, 315.10°)
OKLaboklab(46.73% 0.1152 -0.149)
OKLCHoklch(46.73% 0.188 307.7)
XYZxyz(15.7447, 8.7407, 38.3861)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EA9 #60A92E
analogous
#3A2EA9 #772EA9 #A92E9D
triadic
#772EA9 #A9772E #2EA977
tetradic
#772EA9 #A93A2E #60A92E #2E9DA9
square
#772EA9 #A93A2E #60A92E #2E9DA9
split-complementary
#772EA9 #9DA92E #2EA93A
monochromatic
#331449 #552179 #772EA9 #9747CD #B277DA

Accessibility & contrast

On white

7.64
#772EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#772EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EA9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EA9#FFFFFF#000000##FFFFFF
##772EA91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0354A6
Tritanopia (blue-blind)
#6F4B69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772ea9;
/* rgb */ color: rgb(119, 46, 169);
/* oklch */ color: oklch(46.7% 0.188 307.7);
Tailwind
colors: {
  custom: {
    50: '#a36ec3',
    500: '#772ea9',
    950: '#000000',
  },
}
SCSS
$custom: #772ea9;
$custom-light: #a36ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#772ea9",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 275.61,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46726,
    "c": 0.18837,
    "h": 307.7
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#772EA9
secondary
#92C271
accent
#E04786
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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