#772CB3#772CB3

#772CB3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.201 H 305.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#772CB3
RGBrgb(119, 44, 179)
HSLhsl(273, 61%, 44%)
HSVhsv(273, 75%, 70%)
CMYKcmyk(33.5%, 75.4%, 0%, 29.8%)
CIE-LABlab(35.94, 55.84, -57.74)
CIE-LCHlch(35.94, 80.33, 314.04°)
OKLaboklab(47.29% 0.1152 -0.1644)
OKLCHoklch(47.29% 0.201 305)
XYZxyz(16.6433, 8.9781, 43.4952)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CB3 #68B32C
analogous
#332CB3 #772CB3 #B32CAB
triadic
#772CB3 #B3772C #2CB377
tetradic
#772CB3 #B3332C #68B32C #2CABB3
square
#772CB3 #B3332C #68B32C #2CABB3
split-complementary
#772CB3 #ABB32C #2CB333
monochromatic
#361451 #562082 #772CB3 #964AD2 #B27BDF

Accessibility & contrast

On white

7.51
#772CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#772CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CB3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CB3#FFFFFF#000000##FFFFFF
##772CB31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#6C4E6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772cb3;
/* rgb */ color: rgb(119, 44, 179);
/* oklch */ color: oklch(47.3% 0.201 305.0);
Tailwind
colors: {
  custom: {
    50: '#a46dcb',
    500: '#772cb3',
    950: '#000000',
  },
}
SCSS
$custom: #772cb3;
$custom-light: #a46dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#772cb3",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 273.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.20071,
    "h": 305
  },
  "luminance": 0.08978
}

Semantic roles & 50–950 ramp

primary
#772CB3
secondary
#99C774
accent
#E4448B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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