#772EB9#772EB9

#772EB9 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.205 H 303.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#772EB9
RGBrgb(119, 46, 185)
HSLhsl(272, 60%, 45%)
HSVhsv(272, 75%, 73%)
CMYKcmyk(35.7%, 75.1%, 0%, 27.5%)
CIE-LABlab(36.70, 56.41, -60.05)
CIE-LCHlch(36.70, 82.39, 313.21°)
OKLaboklab(47.97% 0.1121 -0.1712)
OKLCHoklch(47.97% 0.205 303.2)
XYZxyz(17.3396, 9.3787, 46.7863)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EB9 #70B92E
analogous
#322EB9 #772EB9 #B92EB5
triadic
#772EB9 #B9772E #2EB977
tetradic
#772EB9 #B9322E #70B92E #2EB5B9
square
#772EB9 #B9322E #70B92E #2EB5B9
split-complementary
#772EB9 #B5B92E #2EB932
monochromatic
#381657 #572288 #772EB9 #9551D4 #B382E0

Accessibility & contrast

On white

7.30
#772EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#772EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EB9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EB9#FFFFFF#000000##FFFFFF
##772EB91.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772eb9;
/* rgb */ color: rgb(119, 46, 185);
/* oklch */ color: oklch(48.0% 0.205 303.2);
Tailwind
colors: {
  custom: {
    50: '#a46ecf',
    500: '#772eb9',
    950: '#000000',
  },
}
SCSS
$custom: #772eb9;
$custom-light: #a46ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#772eb9",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 271.511,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.20459,
    "h": 303.2
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#772EB9
secondary
#9FC97A
accent
#E34490
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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