#772687#772687

#772687 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.165 H 320.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#772687
RGBrgb(119, 38, 135)
HSLhsl(290, 56%, 34%)
HSVhsv(290, 72%, 53%)
CMYKcmyk(11.9%, 71.9%, 0%, 47.1%)
CIE-LABlab(31.94, 48.81, -37.51)
CIE-LCHlch(31.94, 61.55, 322.46°)
OKLaboklab(43.46% 0.1275 -0.1049)
OKLCHoklch(43.46% 0.165 320.5)
XYZxyz(12.6735, 7.0581, 23.6118)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772687 #368726
analogous
#472687 #772687 #872667
triadic
#772687 #877726 #268777
tetradic
#772687 #874726 #368726 #266787
square
#772687 #874726 #368726 #266787
split-complementary
#772687 #678726 #268747
monochromatic
#230B27 #4D1957 #772687 #A133B7 #BC58D0

Accessibility & contrast

On white

8.71
#772687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#772687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772687
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772687#FFFFFF#000000##FFFFFF
##7726871.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#783854
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772687;
/* rgb */ color: rgb(119, 38, 135);
/* oklch */ color: oklch(43.5% 0.165 320.5);
Tailwind
colors: {
  custom: {
    50: '#a168aa',
    500: '#772687',
    950: '#000000',
  },
}
SCSS
$custom: #772687;
$custom-light: #a168aa;
$custom-dark: #000000;
JSON
{
  "hex": "#772687",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 290.103,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.16511,
    "h": 320.5
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#772687
secondary
#64B554
accent
#DF4861
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772687

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

Preview Lab → · Contrast checker → · Palette generator →

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