#772EA0#772EA0

#772EA0 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.179 H 310.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#772EA0
RGBrgb(119, 46, 160)
HSLhsl(278, 55%, 40%)
HSVhsv(278, 71%, 63%)
CMYKcmyk(25.6%, 71.2%, 0%, 37.3%)
CIE-LABlab(34.83, 50.67, -48.16)
CIE-LCHlch(34.83, 69.91, 316.45°)
OKLaboklab(46.06% 0.1165 -0.1362)
OKLCHoklch(46.06% 0.179 310.5)
XYZxyz(14.9287, 8.4143, 34.0886)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EA0 #57A02E
analogous
#3E2EA0 #772EA0 #A02E90
triadic
#772EA0 #A0772E #2EA077
tetradic
#772EA0 #A03E2E #57A02E #2E90A0
square
#772EA0 #A03E2E #57A02E #2E90A0
split-complementary
#772EA0 #90A02E #2EA03E
monochromatic
#301341 #542070 #772EA0 #9842C9 #B272D6

Accessibility & contrast

On white

7.83
#772EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#772EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EA0
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EA0#FFFFFF#000000##FFFFFF
##772EA01.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#1B539E
Tritanopia (blue-blind)
#714764
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772ea0;
/* rgb */ color: rgb(119, 46, 160);
/* oklch */ color: oklch(46.1% 0.179 310.5);
Tailwind
colors: {
  custom: {
    50: '#a26dbd',
    500: '#772ea0',
    950: '#000000',
  },
}
SCSS
$custom: #772ea0;
$custom-light: #a26dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#772ea0",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 278.421,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.17925,
    "h": 310.5
  },
  "luminance": 0.08414
}

Semantic roles & 50–950 ramp

primary
#772EA0
secondary
#89BE6C
accent
#DF497F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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