#772CB1#772CB1

#772CB1 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.199 H 305.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#772CB1
RGBrgb(119, 44, 177)
HSLhsl(274, 60%, 43%)
HSVhsv(274, 75%, 69%)
CMYKcmyk(32.8%, 75.1%, 0%, 30.6%)
CIE-LABlab(35.79, 55.38, -56.80)
CIE-LCHlch(35.79, 79.33, 314.27°)
OKLaboklab(47.13% 0.1156 -0.1616)
OKLCHoklch(47.13% 0.199 305.6)
XYZxyz(16.4425, 8.8978, 42.4377)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CB1 #66B12C
analogous
#352CB1 #772CB1 #B12CA8
triadic
#772CB1 #B1772C #2CB177
tetradic
#772CB1 #B1352C #66B12C #2CA8B1
square
#772CB1 #B1352C #66B12C #2CA8B1
split-complementary
#772CB1 #A8B12C #2CB135
monochromatic
#35144F #562080 #772CB1 #9649D2 #B27ADE

Accessibility & contrast

On white

7.56
#772CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#772CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CB1
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CB1#FFFFFF#000000##FFFFFF
##772CB11.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#6C4D6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772cb1;
/* rgb */ color: rgb(119, 44, 177);
/* oklch */ color: oklch(47.1% 0.199 305.6);
Tailwind
colors: {
  custom: {
    50: '#a46dc9',
    500: '#772cb1',
    950: '#000000',
  },
}
SCSS
$custom: #772cb1;
$custom-light: #a46dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#772cb1",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 273.835,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47133,
    "c": 0.19871,
    "h": 305.6
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#772CB1
secondary
#97C673
accent
#E3448A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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