#772CB5#772CB5

#772CB5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.203 H 304.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#772CB5
RGBrgb(119, 44, 181)
HSLhsl(273, 61%, 44%)
HSVhsv(273, 76%, 71%)
CMYKcmyk(34.3%, 75.7%, 0%, 29%)
CIE-LABlab(36.10, 56.30, -58.67)
CIE-LCHlch(36.10, 81.32, 313.82°)
OKLaboklab(47.45% 0.1148 -0.1671)
OKLCHoklch(47.45% 0.203 304.5)
XYZxyz(16.8470, 9.0596, 44.5682)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CB5 #6AB52C
analogous
#332CB5 #772CB5 #B52CAF
triadic
#772CB5 #B5772C #2CB577
tetradic
#772CB5 #B5332C #6AB52C #2CAFB5
square
#772CB5 #B5332C #6AB52C #2CAFB5
split-complementary
#772CB5 #AFB52C #2CB533
monochromatic
#361453 #572084 #772CB5 #964BD3 #B27CDF

Accessibility & contrast

On white

7.47
#772CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#772CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CB5
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CB5#FFFFFF#000000##FFFFFF
##772CB51.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#6B4F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772cb5;
/* rgb */ color: rgb(119, 44, 181);
/* oklch */ color: oklch(47.4% 0.203 304.5);
Tailwind
colors: {
  custom: {
    50: '#a46dcc',
    500: '#772cb5',
    950: '#000000',
  },
}
SCSS
$custom: #772cb5;
$custom-light: #a46dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#772cb5",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 272.847,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.20271,
    "h": 304.5
  },
  "luminance": 0.09059
}

Semantic roles & 50–950 ramp

primary
#772CB5
secondary
#9AC875
accent
#E4448C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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