#772CA8#772CA8

#772CA8 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.190 H 308.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#772CA8
RGBrgb(119, 44, 168)
HSLhsl(276, 58%, 42%)
HSVhsv(276, 74%, 66%)
CMYKcmyk(29.2%, 73.8%, 0%, 34.1%)
CIE-LABlab(35.10, 53.33, -52.54)
CIE-LCHlch(35.10, 74.86, 315.43°)
OKLaboklab(46.44% 0.1173 -0.1491)
OKLCHoklch(46.44% 0.19 308.2)
XYZxyz(15.5748, 8.5507, 37.8682)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CA8 #5DA82C
analogous
#392CA8 #772CA8 #A82C9B
triadic
#772CA8 #A8772C #2CA877
tetradic
#772CA8 #A8392C #5DA82C #2C9BA8
square
#772CA8 #A8392C #5DA82C #2C9BA8
split-complementary
#772CA8 #9BA82C #2CA839
monochromatic
#321347 #551F78 #772CA8 #9743CE #B274DB

Accessibility & contrast

On white

7.75
#772CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#772CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CA8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CA8#FFFFFF#000000##FFFFFF
##772CA81.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0153A5
Tritanopia (blue-blind)
#6F4968
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772ca8;
/* rgb */ color: rgb(119, 44, 168);
/* oklch */ color: oklch(46.4% 0.190 308.2);
Tailwind
colors: {
  custom: {
    50: '#a36cc3',
    500: '#772ca8',
    950: '#000000',
  },
}
SCSS
$custom: #772ca8;
$custom-light: #a36cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#772ca8",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 276.29,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.18971,
    "h": 308.2
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#772CA8
secondary
#8FC26E
accent
#E24684
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #772CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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