#772AC0#772AC0

#772AC0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.216 H 301.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#772AC0
RGBrgb(119, 42, 192)
HSLhsl(271, 64%, 46%)
HSVhsv(271, 78%, 75%)
CMYKcmyk(38%, 78.1%, 0%, 24.7%)
CIE-LABlab(36.71, 59.64, -64.16)
CIE-LCHlch(36.71, 87.60, 312.91°)
OKLaboklab(48.16% 0.1138 -0.1832)
OKLCHoklch(48.16% 0.216 301.8)
XYZxyz(17.9478, 9.3836, 50.7246)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AC0 #73C02A
analogous
#2C2AC0 #772AC0 #C02ABE
triadic
#772AC0 #C0772A #2AC077
tetradic
#772AC0 #C02C2A #73C02A #2ABEC0
square
#772AC0 #C02C2A #73C02A #2ABEC0
split-complementary
#772AC0 #BEC02A #2AC02C
monochromatic
#39145C #581F8E #772AC0 #954FD8 #B481E3

Accessibility & contrast

On white

7.30
#772AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#772AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AC0
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AC0#FFFFFF#000000##FFFFFF
##772AC01.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#675275
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772ac0;
/* rgb */ color: rgb(119, 42, 192);
/* oklch */ color: oklch(48.2% 0.216 301.8);
Tailwind
colors: {
  custom: {
    50: '#a56dd4',
    500: '#772ac0',
    950: '#000000',
  },
}
SCSS
$custom: #772ac0;
$custom-light: #a56dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#772ac0",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 270.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.21565,
    "h": 301.8
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#772AC0
secondary
#A2CC7A
accent
#E74192
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #772AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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