#772CA3#772CA3

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

Color values

HEX#772CA3
RGBrgb(119, 44, 163)
HSLhsl(278, 57%, 41%)
HSVhsv(278, 73%, 64%)
CMYKcmyk(27%, 73%, 0%, 36.1%)
CIE-LABlab(34.74, 52.21, -50.13)
CIE-LCHlch(34.74, 72.38, 316.17°)
OKLaboklab(46.06% 0.1182 -0.142)
OKLCHoklch(46.06% 0.185 309.8)
XYZxyz(15.1180, 8.3680, 35.4620)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CA3 #58A32C
analogous
#3B2CA3 #772CA3 #A32C93
triadic
#772CA3 #A3772C #2CA377
tetradic
#772CA3 #A33B2C #58A32C #2C93A3
square
#772CA3 #A33B2C #58A32C #2C93A3
split-complementary
#772CA3 #93A32C #2CA33B
monochromatic
#311243 #541F73 #772CA3 #9841CC #B271D9

Accessibility & contrast

On white

7.85
#772CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#772CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CA3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CA3#FFFFFF#000000##FFFFFF
##772CA31.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1253A0
Tritanopia (blue-blind)
#714765
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772ca3;
/* rgb */ color: rgb(119, 44, 163);
/* oklch */ color: oklch(46.1% 0.185 309.8);
Tailwind
colors: {
  custom: {
    50: '#a26cbf',
    500: '#772ca3',
    950: '#000000',
  },
}
SCSS
$custom: #772ca3;
$custom-light: #a26cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#772ca3",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 277.815,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46061,
    "c": 0.18472,
    "h": 309.8
  },
  "luminance": 0.08368
}

Semantic roles & 50–950 ramp

primary
#772CA3
secondary
#8AC06B
accent
#E14780
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #772CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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