#772ACA#772ACA

#772ACA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 49.0% C 0.225 H 299.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#772ACA
RGBrgb(119, 42, 202)
HSLhsl(269, 66%, 48%)
HSVhsv(269, 79%, 79%)
CMYKcmyk(41.1%, 79.2%, 0%, 20.8%)
CIE-LABlab(37.56, 61.98, -68.62)
CIE-LCHlch(37.56, 92.47, 312.09°)
OKLaboklab(49.01% 0.1109 -0.1963)
OKLCHoklch(49.01% 0.225 299.5)
XYZxyz(19.0937, 9.8419, 56.7594)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772ACA #7DCA2A
analogous
#2A2DCA #772ACA #C72ACA
triadic
#772ACA #CA772A #2ACA77
tetradic
#772ACA #CA2A2D #7DCA2A #2ACAC7
square
#772ACA #CA2A2D #7DCA2A #2ACAC7
split-complementary
#772ACA #CAC72A #2DCA2A
monochromatic
#3B1565 #591F97 #772ACA #9655DC #B588E6

Accessibility & contrast

On white

7.07
#772ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#772ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772ACA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772ACA#FFFFFF#000000##FFFFFF
##772ACA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#63577B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #772aca;
/* rgb */ color: rgb(119, 42, 202);
/* oklch */ color: oklch(49.0% 0.225 299.5);
Tailwind
colors: {
  custom: {
    50: '#a66ddb',
    500: '#772aca',
    950: '#000000',
  },
}
SCSS
$custom: #772aca;
$custom-light: #a66ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#772aca",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 268.875,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49005,
    "c": 0.22549,
    "h": 299.5
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#772ACA
secondary
#A9D080
accent
#E93F97
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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