#772CB9#772CB9

#772CB9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.207 H 303.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#772CB9
RGBrgb(119, 44, 185)
HSLhsl(272, 62%, 45%)
HSVhsv(272, 76%, 73%)
CMYKcmyk(35.7%, 76.2%, 0%, 27.5%)
CIE-LABlab(36.42, 57.23, -60.52)
CIE-LCHlch(36.42, 83.29, 313.40°)
OKLaboklab(47.77% 0.1138 -0.1725)
OKLCHoklch(47.77% 0.207 303.4)
XYZxyz(17.2633, 9.2261, 46.7609)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CB9 #6EB92C
analogous
#312CB9 #772CB9 #B92CB4
triadic
#772CB9 #B9772C #2CB977
tetradic
#772CB9 #B9312C #6EB92C #2CB4B9
square
#772CB9 #B9312C #6EB92C #2CB4B9
split-complementary
#772CB9 #B4B92C #2CB931
monochromatic
#371456 #572088 #772CB9 #954DD5 #B37FE1

Accessibility & contrast

On white

7.38
#772CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#772CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CB9
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CB9#FFFFFF#000000##FFFFFF
##772CB91.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#6A5071
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772cb9;
/* rgb */ color: rgb(119, 44, 185);
/* oklch */ color: oklch(47.8% 0.207 303.4);
Tailwind
colors: {
  custom: {
    50: '#a46dcf',
    500: '#772cb9',
    950: '#000000',
  },
}
SCSS
$custom: #772cb9;
$custom-light: #a46dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#772cb9",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 271.915,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.2067,
    "h": 303.4
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#772CB9
secondary
#9EC978
accent
#E5438F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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