#772CBB#772CBB

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

Color values

HEX#772CBB
RGBrgb(119, 44, 187)
HSLhsl(271, 62%, 45%)
HSVhsv(271, 76%, 73%)
CMYKcmyk(36.4%, 76.5%, 0%, 26.7%)
CIE-LABlab(36.58, 57.69, -61.44)
CIE-LCHlch(36.58, 84.28, 313.20°)
OKLaboklab(47.94% 0.1134 -0.1752)
OKLCHoklch(47.94% 0.209 302.9)
XYZxyz(17.4759, 9.3111, 47.8806)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CBB #70BB2C
analogous
#302CBB #772CBB #BB2CB7
triadic
#772CBB #BB772C #2CBB77
tetradic
#772CBB #BB302C #70BB2C #2CB7BB
square
#772CBB #BB302C #70BB2C #2CB7BB
split-complementary
#772CBB #B7BB2C #2CBB30
monochromatic
#381558 #572089 #772CBB #954FD6 #B380E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772CBB#FFFFFF#000000##FFFFFF
##772CBB1.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)
#0055BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#695172
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772cbb;
/* rgb */ color: rgb(119, 44, 187);
/* oklch */ color: oklch(47.9% 0.209 302.9);
Tailwind
colors: {
  custom: {
    50: '#a46dd0',
    500: '#772cbb',
    950: '#000000',
  },
}
SCSS
$custom: #772cbb;
$custom-light: #a46dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#772cbb",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 271.469,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.20871,
    "h": 302.9
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#772CBB
secondary
#9FCA79
accent
#E54390
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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