#772FB6#772FB6

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

Color values

HEX#772FB6
RGBrgb(119, 47, 182)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 74%, 71%)
CMYKcmyk(34.6%, 74.2%, 0%, 28.6%)
CIE-LABlab(36.62, 55.28, -58.42)
CIE-LCHlch(36.62, 80.43, 313.42°)
OKLaboklab(47.84% 0.1118 -0.1664)
OKLCHoklch(47.84% 0.2 303.9)
XYZxyz(17.0658, 9.3324, 45.1492)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FB6 #6EB62F
analogous
#342FB6 #772FB6 #B62FB2
triadic
#772FB6 #B6772F #2FB677
tetradic
#772FB6 #B6342F #6EB62F #2FB2B6
square
#772FB6 #B6342F #6EB62F #2FB2B6
split-complementary
#772FB6 #B2B62F #2FB634
monochromatic
#371655 #572285 #772FB6 #9550D2 #B381DE

Accessibility & contrast

On white

7.33
#772FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#772FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FB6
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FB6#FFFFFF#000000##FFFFFF
##772FB61.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772fb6;
/* rgb */ color: rgb(119, 47, 182);
/* oklch */ color: oklch(47.8% 0.200 303.9);
Tailwind
colors: {
  custom: {
    50: '#a46fcd',
    500: '#772fb6',
    950: '#000000',
  },
}
SCSS
$custom: #772fb6;
$custom-light: #a46fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#772fb6",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 272,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47839,
    "c": 0.20045,
    "h": 303.9
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#772FB6
secondary
#9EC779
accent
#E2468F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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