#772CA4#772CA4

#772CA4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.186 H 309.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#772CA4
RGBrgb(119, 44, 164)
HSLhsl(278, 58%, 41%)
HSVhsv(278, 73%, 64%)
CMYKcmyk(27.4%, 73.2%, 0%, 35.7%)
CIE-LABlab(34.81, 52.43, -50.61)
CIE-LCHlch(34.81, 72.87, 316.01°)
OKLaboklab(46.14% 0.118 -0.1434)
OKLCHoklch(46.14% 0.186 309.5)
XYZxyz(15.2079, 8.4039, 35.9357)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CA4 #59A42C
analogous
#3B2CA4 #772CA4 #A42C95
triadic
#772CA4 #A4772C #2CA477
tetradic
#772CA4 #A43B2C #59A42C #2C95A4
square
#772CA4 #A43B2C #59A42C #2C95A4
split-complementary
#772CA4 #95A42C #2CA43B
monochromatic
#311243 #541F74 #772CA4 #9841CC #B271D9

Accessibility & contrast

On white

7.83
#772CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#772CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CA4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CA4#FFFFFF#000000##FFFFFF
##772CA41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0F53A1
Tritanopia (blue-blind)
#704765
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772ca4;
/* rgb */ color: rgb(119, 44, 164);
/* oklch */ color: oklch(46.1% 0.186 309.5);
Tailwind
colors: {
  custom: {
    50: '#a36cc0',
    500: '#772ca4',
    950: '#000000',
  },
}
SCSS
$custom: #772ca4;
$custom-light: #a36cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#772ca4",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 277.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.18571,
    "h": 309.5
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#772CA4
secondary
#8BC06B
accent
#E14781
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #772CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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