#772C9D#772C9D

#772C9D is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.179 H 311.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#772C9D
RGBrgb(119, 44, 157)
HSLhsl(280, 56%, 39%)
HSVhsv(280, 72%, 62%)
CMYKcmyk(24.2%, 72%, 0%, 38.4%)
CIE-LABlab(34.31, 50.88, -47.19)
CIE-LCHlch(34.31, 69.40, 317.16°)
OKLaboklab(45.62% 0.119 -0.1334)
OKLCHoklch(45.62% 0.179 311.7)
XYZxyz(14.5931, 8.1580, 32.6977)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C9D #529D2C
analogous
#3F2C9D #772C9D #9D2C8B
triadic
#772C9D #9D772C #2C9D77
tetradic
#772C9D #9D3F2C #529D2C #2C8B9D
square
#772C9D #9D3F2C #529D2C #2C8B9D
split-complementary
#772C9D #8B9D2C #2C9D3F
monochromatic
#2F113D #531F6D #772C9D #9A3DC9 #B36DD6

Accessibility & contrast

On white

7.98
#772C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#772C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C9D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C9D#FFFFFF#000000##FFFFFF
##772C9D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#1D529B
Tritanopia (blue-blind)
#724561
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772c9d;
/* rgb */ color: rgb(119, 44, 157);
/* oklch */ color: oklch(45.6% 0.179 311.7);
Tailwind
colors: {
  custom: {
    50: '#a26cbb',
    500: '#772c9d',
    950: '#000000',
  },
}
SCSS
$custom: #772c9d;
$custom-light: #a26cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#772c9d",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 279.823,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.17873,
    "h": 311.7
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#772C9D
secondary
#84BD68
accent
#E0487B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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