#772DA3#772DA3

#772DA3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.184 H 309.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#772DA3
RGBrgb(119, 45, 163)
HSLhsl(278, 57%, 41%)
HSVhsv(278, 72%, 64%)
CMYKcmyk(27%, 72.4%, 0%, 36.1%)
CIE-LABlab(34.89, 51.78, -49.88)
CIE-LCHlch(34.89, 71.90, 316.07°)
OKLaboklab(46.17% 0.1171 -0.1413)
OKLCHoklch(46.17% 0.184 309.7)
XYZxyz(15.1557, 8.4434, 35.4746)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DA3 #59A32D
analogous
#3C2DA3 #772DA3 #A32D94
triadic
#772DA3 #A3772D #2DA377
tetradic
#772DA3 #A33C2D #59A32D #2D94A3
square
#772DA3 #A33C2D #59A32D #2D94A3
split-complementary
#772DA3 #94A32D #2DA33C
monochromatic
#311343 #542073 #772DA3 #9842CB #B272D8

Accessibility & contrast

On white

7.81
#772DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#772DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DA3
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DA3#FFFFFF#000000##FFFFFF
##772DA31.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772da3;
/* rgb */ color: rgb(119, 45, 163);
/* oklch */ color: oklch(46.2% 0.184 309.7);
Tailwind
colors: {
  custom: {
    50: '#a26dbf',
    500: '#772da3',
    950: '#000000',
  },
}
SCSS
$custom: #772da3;
$custom-light: #a26dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#772da3",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 277.627,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.18351,
    "h": 309.7
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#772DA3
secondary
#8BC06C
accent
#E04881
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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