#772FB1#772FB1

#772FB1 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.195 H 305.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#772FB1
RGBrgb(119, 47, 177)
HSLhsl(273, 58%, 44%)
HSVhsv(273, 73%, 69%)
CMYKcmyk(32.8%, 73.4%, 0%, 30.6%)
CIE-LABlab(36.23, 54.11, -56.08)
CIE-LCHlch(36.23, 77.93, 313.98°)
OKLaboklab(47.45% 0.1128 -0.1595)
OKLCHoklch(47.45% 0.195 305.3)
XYZxyz(16.5583, 9.1294, 42.4763)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FB1 #69B12F
analogous
#362FB1 #772FB1 #B12FAA
triadic
#772FB1 #B1772F #2FB177
tetradic
#772FB1 #B1362F #69B12F #2FAAB1
square
#772FB1 #B1362F #69B12F #2FAAB1
split-complementary
#772FB1 #AAB12F #2FB136
monochromatic
#361550 #562281 #772FB1 #964DD0 #B27EDD

Accessibility & contrast

On white

7.43
#772FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#772FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FB1
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FB1#FFFFFF#000000##FFFFFF
##772FB11.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#6C4E6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772fb1;
/* rgb */ color: rgb(119, 47, 177);
/* oklch */ color: oklch(47.4% 0.195 305.3);
Tailwind
colors: {
  custom: {
    50: '#a36ec9',
    500: '#772fb1',
    950: '#000000',
  },
}
SCSS
$custom: #772fb1;
$custom-light: #a36ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#772fb1",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 273.231,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47447,
    "c": 0.19534,
    "h": 305.3
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#772FB1
secondary
#9AC576
accent
#E1478C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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