#772EB7#772EB7

#772EB7 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.203 H 303.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#772EB7
RGBrgb(119, 46, 183)
HSLhsl(272, 60%, 45%)
HSVhsv(272, 75%, 72%)
CMYKcmyk(35%, 74.9%, 0%, 28.2%)
CIE-LABlab(36.55, 55.94, -59.13)
CIE-LCHlch(36.55, 81.39, 313.41°)
OKLaboklab(47.81% 0.1125 -0.1684)
OKLCHoklch(47.81% 0.203 303.7)
XYZxyz(17.1300, 9.2949, 45.6822)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EB7 #6EB72E
analogous
#332EB7 #772EB7 #B72EB2
triadic
#772EB7 #B7772E #2EB777
tetradic
#772EB7 #B7332E #6EB72E #2EB2B7
square
#772EB7 #B7332E #6EB72E #2EB2B7
split-complementary
#772EB7 #B2B72E #2EB733
monochromatic
#371555 #572286 #772EB7 #954FD3 #B380DF

Accessibility & contrast

On white

7.35
#772EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772EB7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EB7#FFFFFF#000000##FFFFFF
##772EB71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#6A5071
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772eb7;
/* rgb */ color: rgb(119, 46, 183);
/* oklch */ color: oklch(47.8% 0.203 303.7);
Tailwind
colors: {
  custom: {
    50: '#a46ece',
    500: '#772eb7',
    950: '#000000',
  },
}
SCSS
$custom: #772eb7;
$custom-light: #a46ece;
$custom-dark: #000000;
JSON
{
  "hex": "#772eb7",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 271.971,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47814,
    "c": 0.20257,
    "h": 303.7
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#772EB7
secondary
#9EC879
accent
#E3458F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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