#772CB6#772CB6

#772CB6 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.204 H 304.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#772CB6
RGBrgb(119, 44, 182)
HSLhsl(273, 61%, 44%)
HSVhsv(273, 76%, 71%)
CMYKcmyk(34.6%, 75.8%, 0%, 28.6%)
CIE-LABlab(36.18, 56.53, -59.14)
CIE-LCHlch(36.18, 81.81, 313.71°)
OKLaboklab(47.53% 0.1145 -0.1685)
OKLCHoklch(47.53% 0.204 304.2)
XYZxyz(16.9500, 9.1008, 45.1106)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CB6 #6BB62C
analogous
#322CB6 #772CB6 #B62CB0
triadic
#772CB6 #B6772C #2CB677
tetradic
#772CB6 #B6322C #6BB62C #2CB0B6
square
#772CB6 #B6322C #6BB62C #2CB0B6
split-complementary
#772CB6 #B0B62C #2CB632
monochromatic
#371453 #572085 #772CB6 #964CD4 #B27DE0

Accessibility & contrast

On white

7.45
#772CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#772CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CB6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CB6#FFFFFF#000000##FFFFFF
##772CB61.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#6B4F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772cb6;
/* rgb */ color: rgb(119, 44, 182);
/* oklch */ color: oklch(47.5% 0.204 304.2);
Tailwind
colors: {
  custom: {
    50: '#a46dcd',
    500: '#772cb6',
    950: '#000000',
  },
}
SCSS
$custom: #772cb6;
$custom-light: #a46dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#772cb6",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 272.609,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4753,
    "c": 0.20371,
    "h": 304.2
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#772CB6
secondary
#9BC876
accent
#E4448D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #772CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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