#772C97#772C97

#772C97 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.173 H 313.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#772C97
RGBrgb(119, 44, 151)
HSLhsl(282, 55%, 38%)
HSVhsv(282, 71%, 59%)
CMYKcmyk(21.2%, 70.9%, 0%, 40.8%)
CIE-LABlab(33.90, 49.58, -44.21)
CIE-LCHlch(33.90, 66.43, 318.28°)
OKLaboklab(45.19% 0.1197 -0.1246)
OKLCHoklch(45.19% 0.173 313.8)
XYZxyz(14.0934, 7.9581, 30.0658)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C97 #4C972C
analogous
#412C97 #772C97 #972C81
triadic
#772C97 #97772C #2C9777
tetradic
#772C97 #97412C #4C972C #2C8197
square
#772C97 #97412C #4C972C #2C8197
split-complementary
#772C97 #81972C #2C9741
monochromatic
#2C1038 #521E68 #772C97 #9C3AC6 #B46AD4

Accessibility & contrast

On white

8.10
#772C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#772C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C97
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C97#FFFFFF#000000##FFFFFF
##772C971.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#255195
Tritanopia (blue-blind)
#74425E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772c97;
/* rgb */ color: rgb(119, 44, 151);
/* oklch */ color: oklch(45.2% 0.173 313.8);
Tailwind
colors: {
  custom: {
    50: '#a26cb6',
    500: '#772c97',
    950: '#000000',
  },
}
SCSS
$custom: #772c97;
$custom-light: #a26cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#772c97",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 282.056,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45194,
    "c": 0.17277,
    "h": 313.8
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#772C97
secondary
#7EBA65
accent
#DE4A76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772C97

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

Preview Lab → · Contrast checker → · Palette generator →

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