#772EB4#772EB4

#772EB4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.200 H 304.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#772EB4
RGBrgb(119, 46, 180)
HSLhsl(273, 59%, 44%)
HSVhsv(273, 74%, 71%)
CMYKcmyk(33.9%, 74.4%, 0%, 29.4%)
CIE-LABlab(36.31, 55.24, -57.73)
CIE-LCHlch(36.31, 79.90, 313.74°)
OKLaboklab(47.58% 0.1131 -0.1643)
OKLCHoklch(47.58% 0.2 304.5)
XYZxyz(16.8211, 9.1713, 44.0552)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EB4 #6BB42E
analogous
#342EB4 #772EB4 #B42EAE
triadic
#772EB4 #B4772E #2EB477
tetradic
#772EB4 #B4342E #6BB42E #2EAEB4
square
#772EB4 #B4342E #6BB42E #2EAEB4
split-complementary
#772EB4 #AEB42E #2EB434
monochromatic
#371553 #572283 #772EB4 #964ED2 #B27EDE

Accessibility & contrast

On white

7.41
#772EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772EB4
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EB4#FFFFFF#000000##FFFFFF
##772EB41.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#6B4F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772eb4;
/* rgb */ color: rgb(119, 46, 180);
/* oklch */ color: oklch(47.6% 0.200 304.5);
Tailwind
colors: {
  custom: {
    50: '#a46ecb',
    500: '#772eb4',
    950: '#000000',
  },
}
SCSS
$custom: #772eb4;
$custom-light: #a46ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#772eb4",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 272.687,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47576,
    "c": 0.19953,
    "h": 304.5
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#772EB4
secondary
#9BC777
accent
#E2458D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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