#772C95#772C95

#772C95 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.171 H 314.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#772C95
RGBrgb(119, 44, 149)
HSLhsl(283, 54%, 38%)
HSVhsv(283, 70%, 58%)
CMYKcmyk(20.1%, 70.5%, 0%, 41.6%)
CIE-LABlab(33.76, 49.15, -43.21)
CIE-LCHlch(33.76, 65.44, 318.68°)
OKLaboklab(45.05% 0.1199 -0.1217)
OKLCHoklch(45.05% 0.171 314.6)
XYZxyz(13.9323, 7.8937, 29.2177)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C95 #4A952C
analogous
#422C95 #772C95 #952C7E
triadic
#772C95 #95772C #2C9577
tetradic
#772C95 #95422C #4A952C #2C7E95
square
#772C95 #95422C #4A952C #2C7E95
split-complementary
#772C95 #7E952C #2C9542
monochromatic
#2C1037 #511E66 #772C95 #9D3AC4 #B469D3

Accessibility & contrast

On white

8.14
#772C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#772C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C95
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C95#FFFFFF#000000##FFFFFF
##772C951.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772c95;
/* rgb */ color: rgb(119, 44, 149);
/* oklch */ color: oklch(45.1% 0.171 314.6);
Tailwind
colors: {
  custom: {
    50: '#a26cb5',
    500: '#772c95',
    950: '#000000',
  },
}
SCSS
$custom: #772c95;
$custom-light: #a26cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#772c95",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 282.857,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.17079,
    "h": 314.6
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#772C95
secondary
#7CB964
accent
#DE4A74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772C95

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

Preview Lab → · Contrast checker → · Palette generator →

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