#772087#772087

#772087 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.172 H 320.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#772087
RGBrgb(119, 32, 135)
HSLhsl(291, 62%, 33%)
HSVhsv(291, 76%, 53%)
CMYKcmyk(11.9%, 76.3%, 0%, 47.1%)
CIE-LABlab(31.13, 51.12, -38.81)
CIE-LCHlch(31.13, 64.18, 322.80°)
OKLaboklab(42.88% 0.1337 -0.1087)
OKLCHoklch(42.88% 0.172 320.9)
XYZxyz(12.4969, 6.7049, 23.5529)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772087 #308720
analogous
#442087 #772087 #872063
triadic
#772087 #877720 #208777
tetradic
#772087 #874420 #308720 #206387
square
#772087 #874420 #308720 #206387
split-complementary
#772087 #638720 #208744
monochromatic
#200924 #4B1456 #772087 #A32CB8 #C04DD5

Accessibility & contrast

On white

8.97
#772087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#772087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772087
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772087#FFFFFF#000000##FFFFFF
##7720871.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2C4C85
Tritanopia (blue-blind)
#783452
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772087;
/* rgb */ color: rgb(119, 32, 135);
/* oklch */ color: oklch(42.9% 0.172 320.9);
Tailwind
colors: {
  custom: {
    50: '#a265aa',
    500: '#772087',
    950: '#000000',
  },
}
SCSS
$custom: #772087;
$custom-light: #a265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#772087",
  "rgb": {
    "r": 119,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 290.68,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42878,
    "c": 0.17227,
    "h": 320.9
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#772087
secondary
#5CB84B
accent
#E5435C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #772087

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

Preview Lab → · Contrast checker → · Palette generator →

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