#772DB9#772DB9

#772DB9 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.206 H 303.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#772DB9
RGBrgb(119, 45, 185)
HSLhsl(272, 61%, 45%)
HSVhsv(272, 76%, 73%)
CMYKcmyk(35.7%, 75.7%, 0%, 27.5%)
CIE-LABlab(36.56, 56.82, -60.29)
CIE-LCHlch(36.56, 82.85, 313.30°)
OKLaboklab(47.87% 0.113 -0.1719)
OKLCHoklch(47.87% 0.206 303.3)
XYZxyz(17.3010, 9.3015, 46.7734)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DB9 #6FB92D
analogous
#312DB9 #772DB9 #B92DB5
triadic
#772DB9 #B9772D #2DB977
tetradic
#772DB9 #B9312D #6FB92D #2DB5B9
square
#772DB9 #B9312D #6FB92D #2DB5B9
split-complementary
#772DB9 #B5B92D #2DB931
monochromatic
#381557 #572188 #772DB9 #954FD4 #B380E0

Accessibility & contrast

On white

7.34
#772DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#772DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DB9
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DB9#FFFFFF#000000##FFFFFF
##772DB91.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#6A5171
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772db9;
/* rgb */ color: rgb(119, 45, 185);
/* oklch */ color: oklch(47.9% 0.206 303.3);
Tailwind
colors: {
  custom: {
    50: '#a46ecf',
    500: '#772db9',
    950: '#000000',
  },
}
SCSS
$custom: #772db9;
$custom-light: #a46ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#772db9",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 271.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47872,
    "c": 0.20566,
    "h": 303.3
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#772DB9
secondary
#9FC979
accent
#E4448F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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