#772DC0#772DC0

#772DC0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.213 H 301.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#772DC0
RGBrgb(119, 45, 192)
HSLhsl(270, 62%, 46%)
HSVhsv(270, 77%, 75%)
CMYKcmyk(38%, 76.6%, 0%, 24.7%)
CIE-LABlab(37.12, 58.46, -63.49)
CIE-LCHlch(37.12, 86.31, 312.64°)
OKLaboklab(48.44% 0.1113 -0.1813)
OKLCHoklch(48.44% 0.213 301.5)
XYZxyz(18.0582, 9.6044, 50.7614)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DC0 #76C02D
analogous
#2E2DC0 #772DC0 #C02DC0
triadic
#772DC0 #C0772D #2DC077
tetradic
#772DC0 #C02E2D #76C02D #2DC0C0
square
#772DC0 #C02E2D #76C02D #2DC0C0
split-complementary
#772DC0 #C0C02D #2DC02E
monochromatic
#3A165D #58218E #772DC0 #9653D7 #B485E2

Accessibility & contrast

On white

7.19
#772DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#772DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DC0
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DC0#FFFFFF#000000##FFFFFF
##772DC01.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772dc0;
/* rgb */ color: rgb(119, 45, 192);
/* oklch */ color: oklch(48.4% 0.213 301.5);
Tailwind
colors: {
  custom: {
    50: '#a56ed4',
    500: '#772dc0',
    950: '#000000',
  },
}
SCSS
$custom: #772dc0;
$custom-light: #a56ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#772dc0",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 270.204,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48444,
    "c": 0.2127,
    "h": 301.5
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#772DC0
secondary
#A4CC7D
accent
#E54393
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #772DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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