#772DC7#772DC7

#772DC7 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.220 H 299.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#772DC7
RGBrgb(119, 45, 199)
HSLhsl(269, 63%, 48%)
HSVhsv(269, 77%, 78%)
CMYKcmyk(40.2%, 77.4%, 0%, 22%)
CIE-LABlab(37.70, 60.12, -66.64)
CIE-LCHlch(37.70, 89.75, 312.06°)
OKLaboklab(49.03% 0.1095 -0.1905)
OKLCHoklch(49.03% 0.22 299.9)
XYZxyz(18.8523, 9.9220, 54.9437)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DC7 #7DC72D
analogous
#2D30C7 #772DC7 #C42DC7
triadic
#772DC7 #C7772D #2DC777
tetradic
#772DC7 #C72D30 #7DC72D #2DC7C4
square
#772DC7 #C72D30 #7DC72D #2DC7C4
split-complementary
#772DC7 #C7C42D #30C72D
monochromatic
#3B1663 #592295 #772DC7 #9658D9 #B58AE5

Accessibility & contrast

On white

7.04
#772DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#772DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DC7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DC7#FFFFFF#000000##FFFFFF
##772DC71.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#645779
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #772dc7;
/* rgb */ color: rgb(119, 45, 199);
/* oklch */ color: oklch(49.0% 0.220 299.9);
Tailwind
colors: {
  custom: {
    50: '#a56ed9',
    500: '#772dc7',
    950: '#000000',
  },
}
SCSS
$custom: #772dc7;
$custom-light: #a56ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#772dc7",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 268.831,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49028,
    "c": 0.21972,
    "h": 299.9
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#772DC7
secondary
#A9CE81
accent
#E64297
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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