#772CCA#772CCA

#772CCA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.224 H 299.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#772CCA
RGBrgb(119, 44, 202)
HSLhsl(268, 64%, 48%)
HSVhsv(268, 78%, 79%)
CMYKcmyk(41.1%, 78.2%, 0%, 20.8%)
CIE-LABlab(37.82, 61.22, -68.19)
CIE-LCHlch(37.82, 91.64, 311.92°)
OKLaboklab(49.19% 0.1094 -0.1951)
OKLCHoklch(49.19% 0.224 299.3)
XYZxyz(19.1664, 9.9873, 56.7836)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CCA #7FCA2C
analogous
#2C30CA #772CCA #C62CCA
triadic
#772CCA #CA772C #2CCA77
tetradic
#772CCA #CA2C30 #7FCA2C #2CCAC6
square
#772CCA #CA2C30 #7FCA2C #2CCAC6
split-complementary
#772CCA #CAC62C #30CA2C
monochromatic
#3C1665 #592198 #772CCA #9658DB #B68BE6

Accessibility & contrast

On white

7.01
#772CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#772CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #772CCA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CCA#FFFFFF#000000##FFFFFF
##772CCA1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#63577B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #772cca;
/* rgb */ color: rgb(119, 44, 202);
/* oklch */ color: oklch(49.2% 0.224 299.3);
Tailwind
colors: {
  custom: {
    50: '#a66edb',
    500: '#772cca',
    950: '#000000',
  },
}
SCSS
$custom: #772cca;
$custom-light: #a66edb;
$custom-dark: #000000;
JSON
{
  "hex": "#772cca",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 268.481,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.22366,
    "h": 299.3
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#772CCA
secondary
#ABD082
accent
#E74198
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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