#772ECA#772ECA

#772ECA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.222 H 299.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#772ECA
RGBrgb(119, 46, 202)
HSLhsl(268, 63%, 49%)
HSVhsv(268, 77%, 79%)
CMYKcmyk(41.1%, 77.2%, 0%, 20.8%)
CIE-LABlab(38.09, 60.44, -67.75)
CIE-LCHlch(38.09, 90.79, 311.74°)
OKLaboklab(49.38% 0.1079 -0.1938)
OKLCHoklch(49.38% 0.222 299.1)
XYZxyz(19.2427, 10.1399, 56.8091)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772ECA #81CA2E
analogous
#2E33CA #772ECA #C52ECA
triadic
#772ECA #CA772E #2ECA77
tetradic
#772ECA #CA2E33 #81CA2E #2ECAC5
square
#772ECA #CA2E33 #81CA2E #2ECAC5
split-complementary
#772ECA #CAC52E #33CA2E
monochromatic
#3C1766 #5A2398 #772ECA #975BDA #B68DE5

Accessibility & contrast

On white

6.94
#772ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#772ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #772ECA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772ECA#FFFFFF#000000##FFFFFF
##772ECA1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#63587B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #772eca;
/* rgb */ color: rgb(119, 46, 202);
/* oklch */ color: oklch(49.4% 0.222 299.1);
Tailwind
colors: {
  custom: {
    50: '#a66fdb',
    500: '#772eca',
    950: '#000000',
  },
}
SCSS
$custom: #772eca;
$custom-light: #a66fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#772eca",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 268.077,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49378,
    "c": 0.22177,
    "h": 299.1
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#772ECA
secondary
#ACCF84
accent
#E64299
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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