#772797#772797

#772797 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.179 H 314.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#772797
RGBrgb(119, 39, 151)
HSLhsl(283, 59%, 37%)
HSVhsv(283, 74%, 59%)
CMYKcmyk(21.2%, 74.2%, 0%, 40.8%)
CIE-LABlab(33.15, 51.68, -45.41)
CIE-LCHlch(33.15, 68.79, 318.70°)
OKLaboklab(44.67% 0.1249 -0.1281)
OKLCHoklch(44.67% 0.179 314.3)
XYZxyz(13.9182, 7.6078, 30.0074)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772797 #479727
analogous
#3F2797 #772797 #97277F
triadic
#772797 #977727 #279777
tetradic
#772797 #973F27 #479727 #277F97
square
#772797 #973F27 #479727 #277F97
split-complementary
#772797 #7F9727 #27973F
monochromatic
#2A0E36 #511A66 #772797 #9D34C8 #B562D6

Accessibility & contrast

On white

8.33
#772797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#772797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772797
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772797#FFFFFF#000000##FFFFFF
##7727971.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#205095
Tritanopia (blue-blind)
#743F5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772797;
/* rgb */ color: rgb(119, 39, 151);
/* oklch */ color: oklch(44.7% 0.179 314.3);
Tailwind
colors: {
  custom: {
    50: '#a269b6',
    500: '#772797',
    950: '#000000',
  },
}
SCSS
$custom: #772797;
$custom-light: #a269b6;
$custom-dark: #000000;
JSON
{
  "hex": "#772797",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 282.857,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44665,
    "c": 0.17893,
    "h": 314.3
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#772797
secondary
#79BC5E
accent
#E24672
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772797

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

Preview Lab → · Contrast checker → · Palette generator →

#772797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva