#772BC7#772BC7

#772BC7 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.222 H 300.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#772BC7
RGBrgb(119, 43, 199)
HSLhsl(269, 64%, 47%)
HSVhsv(269, 78%, 78%)
CMYKcmyk(40.2%, 78.4%, 0%, 22%)
CIE-LABlab(37.43, 60.90, -67.08)
CIE-LCHlch(37.43, 90.60, 312.24°)
OKLaboklab(48.84% 0.111 -0.1918)
OKLCHoklch(48.84% 0.222 300.1)
XYZxyz(18.7778, 9.7730, 54.9188)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BC7 #7BC72B
analogous
#2B2DC7 #772BC7 #C52BC7
triadic
#772BC7 #C7772B #2BC777
tetradic
#772BC7 #C72B2D #7BC72B #2BC7C5
square
#772BC7 #C72B2D #7BC72B #2BC7C5
split-complementary
#772BC7 #C7C52B #2DC72B
monochromatic
#3B1562 #592095 #772BC7 #9655DA #B587E5

Accessibility & contrast

On white

7.11
#772BC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#772BC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BC7
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BC7#FFFFFF#000000##FFFFFF
##772BC71.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#645679
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #772bc7;
/* rgb */ color: rgb(119, 43, 199);
/* oklch */ color: oklch(48.8% 0.222 300.1);
Tailwind
colors: {
  custom: {
    50: '#a66dd9',
    500: '#772bc7',
    950: '#000000',
  },
}
SCSS
$custom: #772bc7;
$custom-light: #a66dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#772bc7",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 199
  },
  "hsl": {
    "h": 269.231,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48839,
    "c": 0.22162,
    "h": 300.1
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#772BC7
secondary
#A8CF7F
accent
#E74096
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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