#772EB3#772EB3

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

Color values

HEX#772EB3
RGBrgb(119, 46, 179)
HSLhsl(273, 59%, 44%)
HSVhsv(273, 74%, 70%)
CMYKcmyk(33.5%, 74.3%, 0%, 29.8%)
CIE-LABlab(36.23, 55.01, -57.26)
CIE-LCHlch(36.23, 79.40, 313.85°)
OKLaboklab(47.5% 0.1134 -0.163)
OKLCHoklch(47.5% 0.199 304.8)
XYZxyz(16.7196, 9.1307, 43.5207)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EB3 #6AB32E
analogous
#342EB3 #772EB3 #B32EAD
triadic
#772EB3 #B3772E #2EB377
tetradic
#772EB3 #B3342E #6AB32E #2EADB3
square
#772EB3 #B3342E #6AB32E #2EADB3
split-complementary
#772EB3 #ADB32E #2EB334
monochromatic
#361552 #572182 #772EB3 #964DD1 #B27EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772EB3#FFFFFF#000000##FFFFFF
##772EB31.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)
#0053B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#6C4F6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772eb3;
/* rgb */ color: rgb(119, 46, 179);
/* oklch */ color: oklch(47.5% 0.199 304.8);
Tailwind
colors: {
  custom: {
    50: '#a46ecb',
    500: '#772eb3',
    950: '#000000',
  },
}
SCSS
$custom: #772eb3;
$custom-light: #a46ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#772eb3",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 272.932,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47497,
    "c": 0.19852,
    "h": 304.8
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#772EB3
secondary
#9AC676
accent
#E2468C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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