#772CC1#772CC1

#772CC1 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.215 H 301.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#772CC1
RGBrgb(119, 44, 193)
HSLhsl(270, 63%, 46%)
HSVhsv(270, 77%, 76%)
CMYKcmyk(38.3%, 77.2%, 0%, 24.3%)
CIE-LABlab(37.07, 59.10, -64.17)
CIE-LCHlch(37.07, 87.24, 312.65°)
OKLaboklab(48.43% 0.1119 -0.1832)
OKLCHoklch(48.43% 0.215 301.4)
XYZxyz(18.1317, 9.5734, 51.3343)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CC1 #76C12C
analogous
#2C2CC1 #772CC1 #C12CC1
triadic
#772CC1 #C1772C #2CC177
tetradic
#772CC1 #C12C2C #76C12C #2CC1C1
square
#772CC1 #C12C2C #76C12C #2CC1C1
split-complementary
#772CC1 #C1C12C #2CC12C
monochromatic
#3A155D #58218F #772CC1 #9653D8 #B484E3

Accessibility & contrast

On white

7.20
#772CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#772CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CC1
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CC1#FFFFFF#000000##FFFFFF
##772CC11.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#675476
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772cc1;
/* rgb */ color: rgb(119, 44, 193);
/* oklch */ color: oklch(48.4% 0.215 301.4);
Tailwind
colors: {
  custom: {
    50: '#a56ed5',
    500: '#772cc1',
    950: '#000000',
  },
}
SCSS
$custom: #772cc1;
$custom-light: #a56ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#772cc1",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 270.201,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48429,
    "c": 0.2147,
    "h": 301.4
  },
  "luminance": 0.09574
}

Semantic roles & 50–950 ramp

primary
#772CC1
secondary
#A4CC7D
accent
#E64293
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #772CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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