#772AC9#772AC9

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

Color values

HEX#772AC9
RGBrgb(119, 42, 201)
HSLhsl(269, 65%, 48%)
HSVhsv(269, 79%, 79%)
CMYKcmyk(40.8%, 79.1%, 0%, 21.2%)
CIE-LABlab(37.47, 61.75, -68.18)
CIE-LCHlch(37.47, 91.99, 312.17°)
OKLaboklab(48.92% 0.1112 -0.195)
OKLCHoklch(48.92% 0.225 299.7)
XYZxyz(18.9757, 9.7947, 56.1378)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AC9 #7CC92A
analogous
#2A2CC9 #772AC9 #C72AC9
triadic
#772AC9 #C9772A #2AC977
tetradic
#772AC9 #C92A2C #7CC92A #2AC9C7
square
#772AC9 #C92A2C #7CC92A #2AC9C7
split-complementary
#772AC9 #C9C72A #2CC92A
monochromatic
#3B1564 #591F96 #772AC9 #9655DB #B587E6

Accessibility & contrast

On white

7.10
#772AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#772AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AC9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AC9#FFFFFF#000000##FFFFFF
##772AC91.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#63567A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #772ac9;
/* rgb */ color: rgb(119, 42, 201);
/* oklch */ color: oklch(48.9% 0.225 299.7);
Tailwind
colors: {
  custom: {
    50: '#a66ddb',
    500: '#772ac9',
    950: '#000000',
  },
}
SCSS
$custom: #772ac9;
$custom-light: #a66ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#772ac9",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 269.057,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.2245,
    "h": 299.7
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#772AC9
secondary
#A9D07F
accent
#E83F97
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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