#772C9F#772C9F

#772C9F is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.181 H 311.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#772C9F
RGBrgb(119, 44, 159)
HSLhsl(279, 57%, 40%)
HSVhsv(279, 72%, 62%)
CMYKcmyk(25.2%, 72.3%, 0%, 37.6%)
CIE-LABlab(34.45, 51.32, -48.17)
CIE-LCHlch(34.45, 70.39, 316.81°)
OKLaboklab(45.77% 0.1187 -0.1362)
OKLCHoklch(45.77% 0.181 311.1)
XYZxyz(14.7653, 8.2269, 33.6043)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C9F #549F2C
analogous
#3D2C9F #772C9F #9F2C8E
triadic
#772C9F #9F772C #2C9F77
tetradic
#772C9F #9F3D2C #549F2C #2C8E9F
square
#772C9F #9F3D2C #549F2C #2C8E9F
split-complementary
#772C9F #8E9F2C #2C9F3D
monochromatic
#2F113F #531F6F #772C9F #993ECA #B36ED7

Accessibility & contrast

On white

7.94
#772C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#772C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C9F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C9F#FFFFFF#000000##FFFFFF
##772C9F1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#1A529D
Tritanopia (blue-blind)
#724563
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772c9f;
/* rgb */ color: rgb(119, 44, 159);
/* oklch */ color: oklch(45.8% 0.181 311.1);
Tailwind
colors: {
  custom: {
    50: '#a26cbc',
    500: '#772c9f',
    950: '#000000',
  },
}
SCSS
$custom: #772c9f;
$custom-light: #a26cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#772c9f",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 279.13,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45766,
    "c": 0.18073,
    "h": 311.1
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#772C9F
secondary
#86BE69
accent
#E0487D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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