#772DC9#772DC9

#772DC9 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.222 H 299.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#772DC9
RGBrgb(119, 45, 201)
HSLhsl(268, 63%, 48%)
HSVhsv(268, 78%, 79%)
CMYKcmyk(40.8%, 77.6%, 0%, 21.2%)
CIE-LABlab(37.87, 60.60, -67.53)
CIE-LCHlch(37.87, 90.73, 311.90°)
OKLaboklab(49.2% 0.1089 -0.1931)
OKLCHoklch(49.2% 0.222 299.4)
XYZxyz(19.0861, 10.0155, 56.1746)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DC9 #7FC92D
analogous
#2D31C9 #772DC9 #C52DC9
triadic
#772DC9 #C9772D #2DC977
tetradic
#772DC9 #C92D31 #7FC92D #2DC9C5
square
#772DC9 #C92D31 #7FC92D #2DC9C5
split-complementary
#772DC9 #C9C52D #31C92D
monochromatic
#3C1765 #592297 #772DC9 #9659DA #B68BE5

Accessibility & contrast

On white

6.99
#772DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#772DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #772DC9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DC9#FFFFFF#000000##FFFFFF
##772DC91.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#63577B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #772dc9;
/* rgb */ color: rgb(119, 45, 201);
/* oklch */ color: oklch(49.2% 0.222 299.4);
Tailwind
colors: {
  custom: {
    50: '#a66fdb',
    500: '#772dc9',
    950: '#000000',
  },
}
SCSS
$custom: #772dc9;
$custom-light: #a66fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#772dc9",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 268.462,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49197,
    "c": 0.22172,
    "h": 299.4
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#772DC9
secondary
#ABCF83
accent
#E64198
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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