#772896#772896

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

Color values

HEX#772896
RGBrgb(119, 40, 150)
HSLhsl(283, 58%, 37%)
HSVhsv(283, 73%, 59%)
CMYKcmyk(20.7%, 73.3%, 0%, 41.2%)
CIE-LABlab(33.23, 51.06, -44.68)
CIE-LCHlch(33.23, 67.85, 318.81°)
OKLaboklab(44.7% 0.1241 -0.126)
OKLCHoklch(44.7% 0.177 314.6)
XYZxyz(13.8706, 7.6420, 29.5926)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772896 #479628
analogous
#402896 #772896 #96287E
triadic
#772896 #967728 #289677
tetradic
#772896 #964028 #479628 #287E96
square
#772896 #964028 #479628 #287E96
split-complementary
#772896 #7E9628 #289640
monochromatic
#2A0E35 #511B66 #772896 #9D35C6 #B563D5

Accessibility & contrast

On white

8.31
#772896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772896
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772896#FFFFFF#000000##FFFFFF
##7728961.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#235094
Tritanopia (blue-blind)
#743F5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772896;
/* rgb */ color: rgb(119, 40, 150);
/* oklch */ color: oklch(44.7% 0.177 314.6);
Tailwind
colors: {
  custom: {
    50: '#a26ab5',
    500: '#772896',
    950: '#000000',
  },
}
SCSS
$custom: #772896;
$custom-light: #a26ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#772896",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 283.091,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44695,
    "c": 0.17679,
    "h": 314.6
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#772896
secondary
#79BB5F
accent
#E14772
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772896

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

Preview Lab → · Contrast checker → · Palette generator →

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