#772ED7#772ED7

#772ED7 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.5% C 0.235 H 296.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#772ED7
RGBrgb(119, 46, 215)
HSLhsl(266, 68%, 51%)
HSVhsv(266, 79%, 84%)
CMYKcmyk(44.7%, 78.6%, 0%, 15.7%)
CIE-LABlab(39.21, 63.56, -73.44)
CIE-LCHlch(39.21, 97.12, 310.88°)
OKLaboklab(50.5% 0.1042 -0.2105)
OKLCHoklch(50.5% 0.235 296.3)
XYZxyz(20.8472, 10.7817, 65.2595)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772ED7 #8ED72E
analogous
#2E39D7 #772ED7 #CB2ED7
triadic
#772ED7 #D7772E #2ED777
tetradic
#772ED7 #D72E39 #8ED72E #2ED7CB
square
#772ED7 #D72E39 #8ED72E #2ED7CB
split-complementary
#772ED7 #D7CB2E #39D72E
monochromatic
#3F1674 #5B20A8 #772ED7 #9861E1 #BA95EB

Accessibility & contrast

On white

6.65
#772ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#772ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #772ED7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772ED7#FFFFFF#000000##FFFFFF
##772ED71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDC
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#5C5E83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #772ed7;
/* rgb */ color: rgb(119, 46, 215);
/* oklch */ color: oklch(50.5% 0.235 296.3);
Tailwind
colors: {
  custom: {
    50: '#a770e5',
    500: '#772ed7',
    950: '#000000',
  },
}
SCSS
$custom: #772ed7;
$custom-light: #a770e5;
$custom-dark: #000000;
JSON
{
  "hex": "#772ed7",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 265.917,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.23483,
    "h": 296.3
  },
  "luminance": 0.10782
}

Semantic roles & 50–950 ramp

primary
#772ED7
secondary
#B5D68B
accent
#EB3DA0
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #772ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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