#772CAF#772CAF

#772CAF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.197 H 306.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#772CAF
RGBrgb(119, 44, 175)
HSLhsl(274, 60%, 43%)
HSVhsv(274, 75%, 69%)
CMYKcmyk(32%, 74.9%, 0%, 31.4%)
CIE-LABlab(35.63, 54.92, -55.86)
CIE-LCHlch(35.63, 78.34, 314.51°)
OKLaboklab(46.98% 0.116 -0.1588)
OKLCHoklch(46.98% 0.197 306.1)
XYZxyz(16.2446, 8.8186, 41.3955)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CAF #64AF2C
analogous
#352CAF #772CAF #AF2CA5
triadic
#772CAF #AF772C #2CAF77
tetradic
#772CAF #AF352C #64AF2C #2CA5AF
square
#772CAF #AF352C #64AF2C #2CA5AF
split-complementary
#772CAF #A5AF2C #2CAF35
monochromatic
#34134D #56207E #772CAF #9647D1 #B278DD

Accessibility & contrast

On white

7.60
#772CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#772CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CAF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CAF#FFFFFF#000000##FFFFFF
##772CAF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#6D4C6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772caf;
/* rgb */ color: rgb(119, 44, 175);
/* oklch */ color: oklch(47.0% 0.197 306.1);
Tailwind
colors: {
  custom: {
    50: '#a36dc8',
    500: '#772caf',
    950: '#000000',
  },
}
SCSS
$custom: #772caf;
$custom-light: #a36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#772caf",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 274.351,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46976,
    "c": 0.19671,
    "h": 306.1
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#772CAF
secondary
#95C572
accent
#E34588
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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