#772897#772897

#772897 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.178 H 314.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#772897
RGBrgb(119, 40, 151)
HSLhsl(283, 58%, 37%)
HSVhsv(283, 74%, 59%)
CMYKcmyk(21.2%, 73.5%, 0%, 40.8%)
CIE-LABlab(33.30, 51.27, -45.18)
CIE-LCHlch(33.30, 68.34, 318.62°)
OKLaboklab(44.77% 0.1239 -0.1274)
OKLCHoklch(44.77% 0.178 314.2)
XYZxyz(13.9515, 7.6744, 30.0185)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772897 #489728
analogous
#402897 #772897 #97287F
triadic
#772897 #977728 #289777
tetradic
#772897 #974028 #489728 #287F97
square
#772897 #974028 #489728 #287F97
split-complementary
#772897 #7F9728 #289740
monochromatic
#2B0E36 #511B67 #772897 #9D35C7 #B564D6

Accessibility & contrast

On white

8.28
#772897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#772897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772897
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772897#FFFFFF#000000##FFFFFF
##7728971.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#215095
Tritanopia (blue-blind)
#74405D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772897;
/* rgb */ color: rgb(119, 40, 151);
/* oklch */ color: oklch(44.8% 0.178 314.2);
Tailwind
colors: {
  custom: {
    50: '#a26ab6',
    500: '#772897',
    950: '#000000',
  },
}
SCSS
$custom: #772897;
$custom-light: #a26ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#772897",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 282.703,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.17775,
    "h": 314.2
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#772897
secondary
#7ABC5F
accent
#E14673
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772897

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

Preview Lab → · Contrast checker → · Palette generator →

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