#772FA9#772FA9

#772FA9 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.187 H 307.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#772FA9
RGBrgb(119, 47, 169)
HSLhsl(275, 56%, 42%)
HSVhsv(275, 72%, 66%)
CMYKcmyk(29.6%, 72.2%, 0%, 33.7%)
CIE-LABlab(35.63, 52.27, -52.28)
CIE-LCHlch(35.63, 73.92, 314.99°)
OKLaboklab(46.84% 0.1142 -0.1483)
OKLCHoklch(46.84% 0.187 307.6)
XYZxyz(15.7842, 8.8198, 38.3993)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FA9 #61A92F
analogous
#3A2FA9 #772FA9 #A92F9E
triadic
#772FA9 #A9772F #2FA977
tetradic
#772FA9 #A93A2F #61A92F #2F9EA9
square
#772FA9 #A93A2F #61A92F #2F9EA9
split-complementary
#772FA9 #9EA92F #2FA93A
monochromatic
#341449 #552279 #772FA9 #9649CC #B279DA

Accessibility & contrast

On white

7.60
#772FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#772FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FA9
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FA9#FFFFFF#000000##FFFFFF
##772FA91.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0654A6
Tritanopia (blue-blind)
#6F4B69
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772fa9;
/* rgb */ color: rgb(119, 47, 169);
/* oklch */ color: oklch(46.8% 0.187 307.6);
Tailwind
colors: {
  custom: {
    50: '#a36ec3',
    500: '#772fa9',
    950: '#000000',
  },
}
SCSS
$custom: #772fa9;
$custom-light: #a36ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#772fa9",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 275.41,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46836,
    "c": 0.18717,
    "h": 307.6
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#772FA9
secondary
#93C272
accent
#E04886
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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