#772FA5#772FA5

#772FA5 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.183 H 308.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#772FA5
RGBrgb(119, 47, 165)
HSLhsl(277, 56%, 42%)
HSVhsv(277, 72%, 65%)
CMYKcmyk(27.9%, 71.5%, 0%, 35.3%)
CIE-LABlab(35.34, 51.35, -50.35)
CIE-LCHlch(35.34, 71.92, 315.57°)
OKLaboklab(46.54% 0.1148 -0.1426)
OKLCHoklch(46.54% 0.183 308.8)
XYZxyz(15.4144, 8.6718, 36.4518)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FA5 #5DA52F
analogous
#3C2FA5 #772FA5 #A52F98
triadic
#772FA5 #A5772F #2FA577
tetradic
#772FA5 #A53C2F #5DA52F #2F98A5
square
#772FA5 #A53C2F #5DA52F #2F98A5
split-complementary
#772FA5 #98A52F #2FA53C
monochromatic
#321446 #552175 #772FA5 #9747CB #B276D8

Accessibility & contrast

On white

7.68
#772FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#772FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FA5
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FA5#FFFFFF#000000##FFFFFF
##772FA51.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#1354A2
Tritanopia (blue-blind)
#704967
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772fa5;
/* rgb */ color: rgb(119, 47, 165);
/* oklch */ color: oklch(46.5% 0.183 308.8);
Tailwind
colors: {
  custom: {
    50: '#a26ec0',
    500: '#772fa5',
    950: '#000000',
  },
}
SCSS
$custom: #772fa5;
$custom-light: #a26ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#772fa5",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 276.61,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46538,
    "c": 0.18309,
    "h": 308.8
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#772FA5
secondary
#8FC070
accent
#DF4983
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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