#772BC0#772BC0

#772BC0 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.215 H 301.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#772BC0
RGBrgb(119, 43, 192)
HSLhsl(271, 63%, 46%)
HSVhsv(271, 78%, 75%)
CMYKcmyk(38%, 77.6%, 0%, 24.7%)
CIE-LABlab(36.85, 59.26, -63.94)
CIE-LCHlch(36.85, 87.18, 312.82°)
OKLaboklab(48.25% 0.1129 -0.1826)
OKLCHoklch(48.25% 0.215 301.7)
XYZxyz(17.9837, 9.4554, 50.7366)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BC0 #74C02B
analogous
#2C2BC0 #772BC0 #C02BBE
triadic
#772BC0 #C0772B #2BC077
tetradic
#772BC0 #C02C2B #74C02B #2BBEC0
square
#772BC0 #C02C2B #74C02B #2BBEC0
split-complementary
#772BC0 #BEC02B #2BC02C
monochromatic
#39155C #58208E #772BC0 #9550D8 #B482E3

Accessibility & contrast

On white

7.26
#772BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#772BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BC0
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BC0#FFFFFF#000000##FFFFFF
##772BC01.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#675375
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772bc0;
/* rgb */ color: rgb(119, 43, 192);
/* oklch */ color: oklch(48.3% 0.215 301.7);
Tailwind
colors: {
  custom: {
    50: '#a56dd4',
    500: '#772bc0',
    950: '#000000',
  },
}
SCSS
$custom: #772bc0;
$custom-light: #a56dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#772bc0",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 270.604,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.21468,
    "h": 301.7
  },
  "luminance": 0.09455
}

Semantic roles & 50–950 ramp

primary
#772BC0
secondary
#A3CC7B
accent
#E64192
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #772BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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