#772A95#772A95

#772A95 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.173 H 314.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#772A95
RGBrgb(119, 42, 149)
HSLhsl(283, 56%, 37%)
HSVhsv(283, 72%, 58%)
CMYKcmyk(20.1%, 71.8%, 0%, 41.6%)
CIE-LABlab(33.45, 50.01, -43.70)
CIE-LCHlch(33.45, 66.42, 318.85°)
OKLaboklab(44.84% 0.1221 -0.1231)
OKLCHoklch(44.84% 0.173 314.8)
XYZxyz(13.8596, 7.7483, 29.1934)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A95 #48952A
analogous
#422A95 #772A95 #952A7D
triadic
#772A95 #95772A #2A9577
tetradic
#772A95 #95422A #48952A #2A7D95
square
#772A95 #95422A #48952A #2A7D95
split-complementary
#772A95 #7D952A #2A9542
monochromatic
#2B0F36 #511D65 #772A95 #9D37C5 #B566D4

Accessibility & contrast

On white

8.24
#772A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#772A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A95
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A95#FFFFFF#000000##FFFFFF
##772A951.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#265193
Tritanopia (blue-blind)
#74405C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772a95;
/* rgb */ color: rgb(119, 42, 149);
/* oklch */ color: oklch(44.8% 0.173 314.8);
Tailwind
colors: {
  custom: {
    50: '#a26bb5',
    500: '#772a95',
    950: '#000000',
  },
}
SCSS
$custom: #772a95;
$custom-light: #a26bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#772a95",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 283.178,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.17335,
    "h": 314.8
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#772A95
secondary
#7ABA61
accent
#DF4873
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772A95

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

Preview Lab → · Contrast checker → · Palette generator →

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