#772DCA#772DCA

#772DCA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.223 H 299.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#772DCA
RGBrgb(119, 45, 202)
HSLhsl(268, 64%, 48%)
HSVhsv(268, 78%, 79%)
CMYKcmyk(41.1%, 77.7%, 0%, 20.8%)
CIE-LABlab(37.95, 60.83, -67.97)
CIE-LCHlch(37.95, 91.22, 311.83°)
OKLaboklab(49.28% 0.1087 -0.1944)
OKLCHoklch(49.28% 0.223 299.2)
XYZxyz(19.2041, 10.0627, 56.7962)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DCA #80CA2D
analogous
#2D31CA #772DCA #C52DCA
triadic
#772DCA #CA772D #2DCA77
tetradic
#772DCA #CA2D31 #80CA2D #2DCAC5
square
#772DCA #CA2D31 #80CA2D #2DCAC5
split-complementary
#772DCA #CAC52D #31CA2D
monochromatic
#3C1766 #5A2298 #772DCA #965ADA #B68CE5

Accessibility & contrast

On white

6.97
#772DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#772DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #772DCA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DCA#FFFFFF#000000##FFFFFF
##772DCA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#63587B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #772dca;
/* rgb */ color: rgb(119, 45, 202);
/* oklch */ color: oklch(49.3% 0.223 299.2);
Tailwind
colors: {
  custom: {
    50: '#a66fdb',
    500: '#772dca',
    950: '#000000',
  },
}
SCSS
$custom: #772dca;
$custom-light: #a66fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#772dca",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 268.28,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.22272,
    "h": 299.2
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#772DCA
secondary
#ACCF83
accent
#E74199
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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