#772EA3#772EA3

#772EA3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.182 H 309.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#772EA3
RGBrgb(119, 46, 163)
HSLhsl(277, 56%, 41%)
HSVhsv(277, 72%, 64%)
CMYKcmyk(27%, 71.8%, 0%, 36.1%)
CIE-LABlab(35.04, 51.34, -49.63)
CIE-LCHlch(35.04, 71.41, 315.97°)
OKLaboklab(46.28% 0.1161 -0.1405)
OKLCHoklch(46.28% 0.182 309.6)
XYZxyz(15.1943, 8.5206, 35.4874)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EA3 #5AA32E
analogous
#3C2EA3 #772EA3 #A32E94
triadic
#772EA3 #A3772E #2EA377
tetradic
#772EA3 #A33C2E #5AA32E #2E94A3
square
#772EA3 #A33C2E #5AA32E #2E94A3
split-complementary
#772EA3 #94A32E #2EA33C
monochromatic
#311344 #542173 #772EA3 #9844CA #B274D8

Accessibility & contrast

On white

7.77
#772EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#772EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EA3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EA3#FFFFFF#000000##FFFFFF
##772EA31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772ea3;
/* rgb */ color: rgb(119, 46, 163);
/* oklch */ color: oklch(46.3% 0.182 309.6);
Tailwind
colors: {
  custom: {
    50: '#a26dbf',
    500: '#772ea3',
    950: '#000000',
  },
}
SCSS
$custom: #772ea3;
$custom-light: #a26dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#772ea3",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 277.436,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46279,
    "c": 0.18229,
    "h": 309.6
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#772EA3
secondary
#8CBF6D
accent
#DF4981
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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