#772FB5#772FB5

#772FB5 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.199 H 304.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#772FB5
RGBrgb(119, 47, 181)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 74%, 71%)
CMYKcmyk(34.3%, 74%, 0%, 29%)
CIE-LABlab(36.54, 55.05, -57.96)
CIE-LCHlch(36.54, 79.93, 313.53°)
OKLaboklab(47.76% 0.112 -0.165)
OKLCHoklch(47.76% 0.199 304.2)
XYZxyz(16.9628, 9.2912, 44.6068)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FB5 #6DB52F
analogous
#342FB5 #772FB5 #B52FB0
triadic
#772FB5 #B5772F #2FB577
tetradic
#772FB5 #B5342F #6DB52F #2FB0B5
square
#772FB5 #B5342F #6DB52F #2FB0B5
split-complementary
#772FB5 #B0B52F #2FB534
monochromatic
#371654 #572284 #772FB5 #9550D1 #B380DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772FB5#FFFFFF#000000##FFFFFF
##772FB51.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)
#0054B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#6B5070
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772fb5;
/* rgb */ color: rgb(119, 47, 181);
/* oklch */ color: oklch(47.8% 0.199 304.2);
Tailwind
colors: {
  custom: {
    50: '#a46fcc',
    500: '#772fb5',
    950: '#000000',
  },
}
SCSS
$custom: #772fb5;
$custom-light: #a46fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#772fb5",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 272.239,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.19943,
    "h": 304.2
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#772FB5
secondary
#9DC779
accent
#E2468E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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