#772EB6#772EB6

#772EB6 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.202 H 304.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#772EB6
RGBrgb(119, 46, 182)
HSLhsl(272, 60%, 45%)
HSVhsv(272, 75%, 71%)
CMYKcmyk(34.6%, 74.7%, 0%, 28.6%)
CIE-LABlab(36.47, 55.70, -58.66)
CIE-LCHlch(36.47, 80.90, 313.52°)
OKLaboklab(47.73% 0.1127 -0.1671)
OKLCHoklch(47.73% 0.202 304)
XYZxyz(17.0263, 9.2534, 45.1360)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EB6 #6DB62E
analogous
#332EB6 #772EB6 #B62EB1
triadic
#772EB6 #B6772E #2EB677
tetradic
#772EB6 #B6332E #6DB62E #2EB1B6
square
#772EB6 #B6332E #6DB62E #2EB1B6
split-complementary
#772EB6 #B1B62E #2EB633
monochromatic
#371554 #572285 #772EB6 #954FD2 #B380DF

Accessibility & contrast

On white

7.37
#772EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#772EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EB6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EB6#FFFFFF#000000##FFFFFF
##772EB61.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#6B5070
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772eb6;
/* rgb */ color: rgb(119, 46, 182);
/* oklch */ color: oklch(47.7% 0.202 304.0);
Tailwind
colors: {
  custom: {
    50: '#a46ecd',
    500: '#772eb6',
    950: '#000000',
  },
}
SCSS
$custom: #772eb6;
$custom-light: #a46ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#772eb6",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 272.206,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.20156,
    "h": 304
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#772EB6
secondary
#9DC878
accent
#E3458E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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