#772F9F#772F9F

#772F9F is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.177 H 310.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#772F9F
RGBrgb(119, 47, 159)
HSLhsl(279, 54%, 40%)
HSVhsv(279, 70%, 62%)
CMYKcmyk(25.2%, 70.4%, 0%, 37.6%)
CIE-LABlab(34.92, 50.00, -47.42)
CIE-LCHlch(34.92, 68.91, 316.52°)
OKLaboklab(46.1% 0.1155 -0.134)
OKLCHoklch(46.1% 0.177 310.8)
XYZxyz(14.8811, 8.4585, 33.6429)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F9F #579F2F
analogous
#3F2F9F #772F9F #9F2F8F
triadic
#772F9F #9F772F #2F9F77
tetradic
#772F9F #9F3F2F #579F2F #2F8F9F
square
#772F9F #9F3F2F #579F2F #2F8F9F
split-complementary
#772F9F #8F9F2F #2F9F3F
monochromatic
#301341 #542170 #772F9F #9844C8 #B273D6

Accessibility & contrast

On white

7.80
#772F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#772F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F9F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F9F#FFFFFF#000000##FFFFFF
##772F9F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#1E539D
Tritanopia (blue-blind)
#724763
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772f9f;
/* rgb */ color: rgb(119, 47, 159);
/* oklch */ color: oklch(46.1% 0.177 310.8);
Tailwind
colors: {
  custom: {
    50: '#a26ebc',
    500: '#772f9f',
    950: '#000000',
  },
}
SCSS
$custom: #772f9f;
$custom-light: #a26ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#772f9f",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 278.571,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46101,
    "c": 0.17696,
    "h": 310.8
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#772F9F
secondary
#89BD6D
accent
#DE4A7F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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