#772CC5#772CC5

#772CC5 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.219 H 300.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#772CC5
RGBrgb(119, 44, 197)
HSLhsl(269, 63%, 47%)
HSVhsv(269, 78%, 77%)
CMYKcmyk(39.6%, 77.7%, 0%, 22.7%)
CIE-LABlab(37.40, 60.04, -65.97)
CIE-LCHlch(37.40, 89.20, 312.31°)
OKLaboklab(48.76% 0.1108 -0.1885)
OKLCHoklch(48.76% 0.219 300.4)
XYZxyz(18.5840, 9.7543, 53.7162)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CC5 #7AC52C
analogous
#2C2EC5 #772CC5 #C42CC5
triadic
#772CC5 #C5772C #2CC577
tetradic
#772CC5 #C52C2E #7AC52C #2CC5C4
square
#772CC5 #C52C2E #7AC52C #2CC5C4
split-complementary
#772CC5 #C5C42C #2EC52C
monochromatic
#3B1661 #592193 #772CC5 #9655D9 #B587E4

Accessibility & contrast

On white

7.12
#772CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#772CC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CC5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CC5#FFFFFF#000000##FFFFFF
##772CC51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#655578
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #772cc5;
/* rgb */ color: rgb(119, 44, 197);
/* oklch */ color: oklch(48.8% 0.219 300.4);
Tailwind
colors: {
  custom: {
    50: '#a56ed8',
    500: '#772cc5',
    950: '#000000',
  },
}
SCSS
$custom: #772cc5;
$custom-light: #a56ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#772cc5",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 269.412,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.21868,
    "h": 300.4
  },
  "luminance": 0.09755
}

Semantic roles & 50–950 ramp

primary
#772CC5
secondary
#A7CE7F
accent
#E74196
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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