#772B95#772B95

#772B95 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.172 H 314.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#772B95
RGBrgb(119, 43, 149)
HSLhsl(283, 55%, 38%)
HSVhsv(283, 71%, 58%)
CMYKcmyk(20.1%, 71.1%, 0%, 41.6%)
CIE-LABlab(33.61, 49.58, -43.46)
CIE-LCHlch(33.61, 65.93, 318.77°)
OKLaboklab(44.94% 0.121 -0.1224)
OKLCHoklch(44.94% 0.172 314.7)
XYZxyz(13.8955, 7.8201, 29.2054)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B95 #49952B
analogous
#422B95 #772B95 #952B7E
triadic
#772B95 #95772B #2B9577
tetradic
#772B95 #95422B #49952B #2B7E95
square
#772B95 #95422B #49952B #2B7E95
split-complementary
#772B95 #7E952B #2B9542
monochromatic
#2B1036 #511D66 #772B95 #9D39C4 #B567D3

Accessibility & contrast

On white

8.19
#772B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#772B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B95
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B95#FFFFFF#000000##FFFFFF
##772B951.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#275193
Tritanopia (blue-blind)
#74415D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772b95;
/* rgb */ color: rgb(119, 43, 149);
/* oklch */ color: oklch(44.9% 0.172 314.7);
Tailwind
colors: {
  custom: {
    50: '#a26bb5',
    500: '#772b95',
    950: '#000000',
  },
}
SCSS
$custom: #772b95;
$custom-light: #a26bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#772b95",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 283.019,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.17208,
    "h": 314.7
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#772B95
secondary
#7BBA62
accent
#DF4974
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772B95

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

Preview Lab → · Contrast checker → · Palette generator →

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